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.001363/0.001363, allocations: 100.7 kB / 16.4 MB, free: 6.508 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.001491/0.001491, allocations: 196 kB / 17.34 MB, free: 5.742 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.421/1.421, 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.7429/0.7429, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.34 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1731, allocations: 76.18 MB / 0.6321 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002576/0.1757, allocations: 1.246 MB / 0.6333 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004421/0.1802, allocations: 2.923 MB / 0.6361 GB, free: 348 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.1803, allocations: 0 / 0.6361 GB, free: 348 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.1803, allocations: 3.938 kB / 0.6361 GB, free: 344 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.1804, allocations: 3.984 kB / 0.6361 GB, free: 340 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.1811, allocations: 99.55 kB / 0.6362 GB, free: 240 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.1812, allocations: 47.83 kB / 0.6363 GB, free: 192 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.1813, allocations: 4 kB / 0.6363 GB, free: 188 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.1818, allocations: 151.5 kB / 0.6364 GB, free: 36 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.1819, allocations: 19.91 kB / 0.6364 GB, free: 16 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1819, allocations: 4 kB / 0.6364 GB, free: 12 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.1821, allocations: 67.98 kB / 0.6365 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.1821, allocations: 3.984 kB / 0.6365 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.1821, allocations: 19.81 kB / 0.6365 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1823, allocations: 67.73 kB / 0.6366 GB, free: 15.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1823, allocations: 0 / 0.6366 GB, free: 15.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1824, allocations: 0 / 0.6366 GB, free: 15.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1824, allocations: 0 / 0.6366 GB, free: 15.86 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.0004742/0.1828, allocations: 359.4 kB / 0.6369 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1829, allocations: 8.031 kB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.183, allocations: 8.875 kB / 0.637 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1831, allocations: 164.4 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1831, allocations: 4.312 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.1831, allocations: 8.375 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1833, allocations: 53.8 kB / 0.6372 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1833, allocations: 0 / 0.6372 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1833, allocations: 8 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1833, allocations: 3.938 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.53e-05/0.1834, allocations: 19.97 kB / 0.6372 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.1836, allocations: 165.6 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.1837, allocations: 50.56 kB / 0.6374 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.1837, allocations: 20.83 kB / 0.6374 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006833/0.1844, allocations: 0.591 MB / 0.638 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1845, allocations: 38.5 kB / 0.638 GB, free: 14.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1845, allocations: 0 / 0.638 GB, free: 14.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005971/0.1851, allocations: 294.2 kB / 0.6383 GB, free: 13.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1851, allocations: 55.41 kB / 0.6384 GB, free: 13.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.1852, allocations: 105.8 kB / 0.6385 GB, free: 13.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1852, allocations: 33.7 kB / 0.6385 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.1853, allocations: 80.14 kB / 0.6386 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1853, allocations: 31.62 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1853, allocations: 25.72 kB / 0.6386 GB, free: 13.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1855, allocations: 318.8 kB / 0.6389 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.1855, allocations: 12 kB / 0.639 GB, free: 13.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.1856, allocations: 53.14 kB / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.1857, allocations: 80.95 kB / 0.6391 GB, free: 12.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1857, allocations: 4 kB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001266/0.1858, allocations: 97.45 kB / 0.6392 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1858, allocations: 4 kB / 0.6392 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1858, allocations: 4 kB / 0.6392 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1859, allocations: 0 / 0.6392 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.1859, allocations: 16 kB / 0.6392 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1859, allocations: 11.92 kB / 0.6392 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.186, allocations: 7.938 kB / 0.6392 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.186, allocations: 4 kB / 0.6392 GB, free: 12.75 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 8.196e-05/0.1861, allocations: 118 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1861, allocations: 4 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.1862, allocations: 7.969 kB / 0.6394 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1862, allocations: 448 / 0.6394 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1862, allocations: 0 / 0.6394 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1862, allocations: 3.938 kB / 0.6394 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.1864, allocations: 181.6 kB / 0.6395 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1864, allocations: 4 kB / 0.6395 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.1865, allocations: 15.98 kB / 0.6395 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1865, allocations: 0 / 0.6395 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1865, allocations: 8 kB / 0.6396 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1866, allocations: 0 / 0.6396 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1866, allocations: 3.938 kB / 0.6396 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.1867, allocations: 175.7 kB / 0.6397 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1868, allocations: 77.11 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1868, allocations: 4.094 kB / 0.6398 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1869, allocations: 4.031 kB / 0.6398 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.1869, allocations: 11.98 kB / 0.6398 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.187, allocations: 7.938 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.187, allocations: 79.28 kB / 0.6399 GB, free: 11.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.187, allocations: 0 / 0.6399 GB, free: 11.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1872, allocations: 16 kB / 0.6399 GB, free: 11.95 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.0001273/0.1874, allocations: 107.2 kB / 0.64 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1875, allocations: 44.17 kB / 0.6401 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1875, allocations: 4 kB / 0.6401 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.1875, allocations: 12 kB / 0.6401 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1879, allocations: 17.48 kB / 0.6401 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.1884, allocations: 322.5 kB / 0.6404 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1887, allocations: 0.6885 MB / 0.6411 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.1888, allocations: 7.984 kB / 0.6411 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1888, allocations: 11.44 kB / 0.6411 GB, free: 10.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1888, allocations: 0 / 0.6411 GB, free: 10.68 MB / 494.1 MB Notification: Performance of Templates: time 0.003439/0.1923, allocations: 0.6291 MB / 0.6417 GB, free: 10.05 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)