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: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 103.7 kB / 16.4 MB, free: 6.5 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.002304/0.002304, allocations: 193.2 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.642/1.642, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8479/0.8479, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 65.17 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1672, allocations: 76.18 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002559/0.1698, allocations: 1.254 MB / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.174, allocations: 2.927 MB / 0.6356 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.174, allocations: 0 / 0.6356 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.1741, allocations: 3.938 kB / 0.6356 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.1742, allocations: 7.938 kB / 0.6356 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.1749, allocations: 95.59 kB / 0.6357 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.175, allocations: 39.84 kB / 0.6358 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1751, allocations: 4 kB / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.1757, allocations: 163.5 kB / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.1758, allocations: 11.98 kB / 0.6359 GB, free: 436 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1758, allocations: 8 kB / 0.636 GB, free: 428 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.176, allocations: 63.83 kB / 0.636 GB, free: 364 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.176, allocations: 19.91 kB / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.176, allocations: 8 kB / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1762, allocations: 62.66 kB / 0.6361 GB, free: 276 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1763, allocations: 4 kB / 0.6361 GB, free: 272 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1763, allocations: 0 / 0.6361 GB, free: 272 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1763, allocations: 3.938 kB / 0.6361 GB, free: 268 kB / 478.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.0004464/0.1767, allocations: 348.3 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1768, allocations: 12.03 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1768, allocations: 38.75 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1769, allocations: 8.875 kB / 0.6365 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.177, allocations: 168.4 kB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.177, allocations: 384 / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.177, allocations: 8.375 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1772, allocations: 57.55 kB / 0.6367 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1772, allocations: 0 / 0.6367 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1772, allocations: 4 kB / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1772, allocations: 0 / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.18e-05/0.1773, allocations: 19.98 kB / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.1775, allocations: 169.6 kB / 0.6369 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.1775, allocations: 50.62 kB / 0.637 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.1776, allocations: 20.8 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.1783, allocations: 0.5869 MB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1783, allocations: 38.56 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1784, allocations: 0 / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006297/0.179, allocations: 302.4 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.179, allocations: 51.41 kB / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.1791, allocations: 101.8 kB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1792, allocations: 29.7 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.1792, allocations: 96.03 kB / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1792, allocations: 23.64 kB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1793, allocations: 25.72 kB / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1794, allocations: 314.8 kB / 0.6385 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.1794, allocations: 15.98 kB / 0.6385 GB, free: 13.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1795, allocations: 65.02 kB / 0.6386 GB, free: 13.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/0.1796, allocations: 69.27 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1796, allocations: 0 / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001458/0.1798, allocations: 97.52 kB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1798, allocations: 8 kB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1798, allocations: 0 / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1798, allocations: 4 kB / 0.6387 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.1799, allocations: 23.92 kB / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1799, allocations: 0 / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.18, allocations: 11.94 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.18, allocations: 4 kB / 0.6388 GB, free: 13.11 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.17e-05/0.1801, allocations: 113.8 kB / 0.6389 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1801, allocations: 4.062 kB / 0.6389 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1801, allocations: 20.33 kB / 0.6389 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1801, allocations: 0 / 0.6389 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1802, allocations: 0 / 0.6389 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1802, allocations: 3.938 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1804, allocations: 173.7 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1804, allocations: 0 / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.1805, allocations: 19.94 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.1805, allocations: 4 kB / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1806, allocations: 3.984 kB / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1806, allocations: 0 / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1806, allocations: 4 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1808, allocations: 171.4 kB / 0.6393 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1808, allocations: 85.14 kB / 0.6393 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1808, allocations: 0 / 0.6393 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1809, allocations: 8 kB / 0.6394 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.181, allocations: 7.922 kB / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.181, allocations: 4 kB / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.144e-05/0.181, allocations: 83.28 kB / 0.6394 GB, free: 12.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.181, allocations: 0 / 0.6394 GB, free: 12.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1813, allocations: 15.94 kB / 0.6395 GB, free: 12.31 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.0004601/0.1817, allocations: 0.705 MB / 0.6402 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.1819, allocations: 44.48 kB / 0.6402 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1819, allocations: 3.938 kB / 0.6402 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.1819, allocations: 27.91 kB / 0.6402 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1822, allocations: 17.59 kB / 0.6402 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1837, allocations: 1.52 MB / 0.6417 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1839, allocations: 0.6841 MB / 0.6424 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.184, allocations: 15.92 kB / 0.6424 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.184, allocations: 15.44 kB / 0.6424 GB, free: 9.121 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.184, allocations: 0 / 0.6424 GB, free: 9.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.2063, allocations: 1.696 MB / 0.6441 GB, free: 7.523 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.62, allocations: 0 / 0.6441 GB, free: 7.523 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)