Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 107.9 kB / 16.41 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 193.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7766/0.7766, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 68.33 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1817, allocations: 76.18 MB / 0.632 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00212/0.1838, allocations: 1.245 MB / 0.6333 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.1874, allocations: 2.934 MB / 0.6361 GB, free: 208 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.1874, allocations: 3.938 kB / 0.6361 GB, free: 204 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.1875, allocations: 0 / 0.6361 GB, free: 204 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.1875, allocations: 3.938 kB / 0.6361 GB, free: 200 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.188, allocations: 99.53 kB / 0.6362 GB, free: 100 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.1881, allocations: 35.92 kB / 0.6363 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.1881, allocations: 3.984 kB / 0.6363 GB, free: 60 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.1886, allocations: 155.5 kB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.1887, allocations: 23.91 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1887, allocations: 0 / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.1889, allocations: 67.81 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.1889, allocations: 8 kB / 0.6365 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.1889, allocations: 23.91 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1892, allocations: 55.81 kB / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1892, allocations: 4 kB / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1892, allocations: 0 / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1892, allocations: 0 / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003932/0.1896, allocations: 351.4 kB / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1896, allocations: 8.031 kB / 0.6369 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.1897, allocations: 4.938 kB / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1898, allocations: 160.4 kB / 0.6371 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1898, allocations: 8.375 kB / 0.6371 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.1899, allocations: 8.375 kB / 0.6371 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.19, allocations: 69.66 kB / 0.6372 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.19, allocations: 0 / 0.6372 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1901, allocations: 3.938 kB / 0.6372 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1901, allocations: 0 / 0.6372 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.1901, allocations: 19.97 kB / 0.6372 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1903, allocations: 169.6 kB / 0.6374 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.1904, allocations: 50.5 kB / 0.6374 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.1905, allocations: 24.84 kB / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.1913, allocations: 0.5871 MB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1913, allocations: 34.56 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1913, allocations: 0 / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005895/0.1919, allocations: 302.4 kB / 0.6383 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.192, allocations: 55.41 kB / 0.6384 GB, free: 13.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.1921, allocations: 105.8 kB / 0.6385 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1921, allocations: 25.7 kB / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.1921, allocations: 80.14 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1921, allocations: 31.55 kB / 0.6386 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.1922, allocations: 25.72 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.1923, allocations: 318.8 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.1923, allocations: 19.94 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.1924, allocations: 53.14 kB / 0.639 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.1925, allocations: 77.08 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1925, allocations: 0 / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001355/0.1926, allocations: 97.39 kB / 0.6392 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1927, allocations: 8 kB / 0.6392 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1927, allocations: 0 / 0.6392 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1927, allocations: 4 kB / 0.6392 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.1928, allocations: 23.94 kB / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1928, allocations: 0 / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.1928, allocations: 12.06 kB / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1928, allocations: 4 kB / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.1929, allocations: 113.8 kB / 0.6393 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.193, allocations: 4 kB / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.193, allocations: 7.969 kB / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.193, allocations: 4 kB / 0.6394 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.193, allocations: 0 / 0.6394 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.193, allocations: 3.938 kB / 0.6394 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.1933, allocations: 178 kB / 0.6395 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1933, allocations: 4 kB / 0.6395 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.1934, allocations: 19.92 kB / 0.6395 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1934, allocations: 0 / 0.6395 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1934, allocations: 4 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1934, allocations: 0 / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1934, allocations: 7.922 kB / 0.6396 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1936, allocations: 171.4 kB / 0.6397 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.1936, allocations: 81.11 kB / 0.6398 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1936, allocations: 4 kB / 0.6398 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1938, allocations: 8.25 kB / 0.6398 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1938, allocations: 3.984 kB / 0.6398 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1938, allocations: 11.94 kB / 0.6398 GB, free: 11.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.1938, allocations: 79.22 kB / 0.6399 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1938, allocations: 0 / 0.6399 GB, free: 11.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1941, allocations: 16 kB / 0.6399 GB, free: 11.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002076/0.1943, allocations: 107.2 kB / 0.64 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1944, allocations: 39.92 kB / 0.6401 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1944, allocations: 0 / 0.6401 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/0.1945, allocations: 16 kB / 0.6401 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.1948, allocations: 7.938 kB / 0.6401 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.1954, allocations: 330.5 kB / 0.6404 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1956, allocations: 0.6962 MB / 0.6411 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.1956, allocations: 3.984 kB / 0.6411 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.1957, allocations: 11.44 kB / 0.6411 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1957, allocations: 0 / 0.6411 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.002773/0.1985, allocations: 0.6349 MB / 0.6417 GB, free: 9.918 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)