Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001606/0.001606, allocations: 108.3 kB / 16.4 MB, free: 6.445 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.001809/0.001809, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.331/1.331, 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.6982/0.6982, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 69.81 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 76.17 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006102/0.1713, allocations: 3.72 MB / 0.6352 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.1716, allocations: 151.5 kB / 0.6353 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.1716, allocations: 0 / 0.6353 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1717, allocations: 11.92 kB / 0.6354 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1719, allocations: 4 kB / 0.6354 GB, free: 1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1723, allocations: 89.88 kB / 0.6354 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.311e-05/0.1724, allocations: 31.91 kB / 0.6355 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.1724, allocations: 11.92 kB / 0.6355 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.1725, allocations: 11.98 kB / 0.6355 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.1726, allocations: 15.92 kB / 0.6355 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1726, allocations: 8 kB / 0.6355 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.1732, allocations: 183.4 kB / 0.6357 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.1733, allocations: 7.984 kB / 0.6357 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1733, allocations: 11.94 kB / 0.6357 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1735, allocations: 38.77 kB / 0.6357 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1735, allocations: 3.938 kB / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1735, allocations: 0 / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1735, allocations: 4 kB / 0.6358 GB, free: 0.5938 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004367/0.1739, allocations: 344.3 kB / 0.6361 GB, free: 216 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.174, allocations: 8.031 kB / 0.6361 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.174, allocations: 34.75 kB / 0.6361 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1741, allocations: 4.938 kB / 0.6361 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1742, allocations: 168.3 kB / 0.6363 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.1743, allocations: 26.27 kB / 0.6363 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1743, allocations: 8.125 kB / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1745, allocations: 41.69 kB / 0.6364 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1745, allocations: 0 / 0.6364 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1745, allocations: 4 kB / 0.6364 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.1745, allocations: 0 / 0.6364 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.859e-05/0.1746, allocations: 15.98 kB / 0.6364 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1751, allocations: 341.9 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.1751, allocations: 22.58 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.1752, allocations: 4.859 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.1753, allocations: 93.16 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1753, allocations: 30.56 kB / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 4.128e-06/0.1753, allocations: 3.984 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.1755, allocations: 37.55 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1755, allocations: 55.41 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.1756, allocations: 101.8 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1756, allocations: 25.7 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.1757, allocations: 96.17 kB / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.1757, allocations: 0 / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1757, allocations: 17.7 kB / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1759, allocations: 318.8 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.1759, allocations: 4 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.1759, allocations: 13.72 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.1759, allocations: 29.64 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.176, allocations: 0 / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.925e-05/0.176, allocations: 45.69 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1761, allocations: 8 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1761, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1761, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.83e-05/0.1761, allocations: 4 kB / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1762, allocations: 7.938 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.1762, allocations: 0 / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1762, allocations: 64 / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.984e-05/0.1763, allocations: 117.8 kB / 0.6377 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.1763, allocations: 7.844 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1765, allocations: 128.9 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/0.1765, allocations: 180.2 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.094e-05/0.1766, allocations: 176.3 kB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.395e-05/0.1767, allocations: 188.2 kB / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1769, allocations: 409.1 kB / 0.6387 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.1769, allocations: 105 kB / 0.6388 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.177, allocations: 104.9 kB / 0.6389 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.607e-05/0.177, allocations: 176.3 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.1771, allocations: 188.1 kB / 0.6393 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-05/0.1772, allocations: 188.3 kB / 0.6395 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.102e-05/0.1773, allocations: 180.2 kB / 0.6396 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1774, allocations: 303.7 kB / 0.6399 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.1775, allocations: 186 kB / 0.6401 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-05/0.1776, allocations: 188.2 kB / 0.6403 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1778, allocations: 101 kB / 0.6404 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.1779, allocations: 188.2 kB / 0.6406 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.1779, allocations: 101 kB / 0.6407 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.512e-05/0.178, allocations: 87.27 kB / 0.6407 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.178, allocations: 0 / 0.6407 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1782, allocations: 19.94 kB / 0.6408 GB, free: 10.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0005562/0.1788, allocations: 0.8282 MB / 0.6416 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.556e-05/0.1789, allocations: 12.05 kB / 0.6416 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1789, allocations: 0 / 0.6416 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.589e-06/0.1789, allocations: 4 kB / 0.6416 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.1793, allocations: 459.6 kB / 0.642 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1804, allocations: 1.321 MB / 0.6433 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1807, allocations: 0.6768 MB / 0.644 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.1807, allocations: 4 kB / 0.644 GB, free: 7.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.1808, allocations: 7.438 kB / 0.644 GB, free: 7.512 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1808, allocations: 4 kB / 0.644 GB, free: 7.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.1984, allocations: 1.557 MB / 0.6455 GB, free: 6.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.438, allocations: 4.062 kB / 0.6455 GB, free: 6.102 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)