Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001401/0.001401, allocations: 107.2 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.001571/0.001571, allocations: 195.9 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.38/1.38, 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.7853/0.7853, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.17 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 76.19 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005445/0.1551, allocations: 3.262 MB / 0.6348 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001207/0.1553, allocations: 59.78 kB / 0.6348 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.1553, allocations: 0 / 0.6348 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1554, allocations: 4 kB / 0.6348 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.1556, allocations: 7.922 kB / 0.6349 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.1563, allocations: 187.2 kB / 0.635 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1564, allocations: 35.8 kB / 0.6351 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.1564, allocations: 4 kB / 0.6351 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.1565, allocations: 15.97 kB / 0.6351 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.1566, allocations: 11.98 kB / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1566, allocations: 0 / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.157, allocations: 175.6 kB / 0.6353 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.157, allocations: 7.922 kB / 0.6353 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.1571, allocations: 11.94 kB / 0.6353 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1573, allocations: 142.5 kB / 0.6354 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1574, allocations: 0 / 0.6354 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1574, allocations: 0 / 0.6354 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1574, allocations: 0 / 0.6354 GB, free: 0.9766 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.0004124/0.1578, allocations: 348.3 kB / 0.6358 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1578, allocations: 12.03 kB / 0.6358 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.1579, allocations: 30.75 kB / 0.6358 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.1579, allocations: 8.844 kB / 0.6358 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.158, allocations: 164.4 kB / 0.636 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.1581, allocations: 26.27 kB / 0.636 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1581, allocations: 4.125 kB / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1583, allocations: 49.61 kB / 0.636 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1583, allocations: 4 kB / 0.636 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1583, allocations: 3.984 kB / 0.636 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1583, allocations: 0 / 0.636 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.1584, allocations: 11.98 kB / 0.6361 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.1591, allocations: 0.5872 MB / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.1591, allocations: 14.58 kB / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.1591, allocations: 8.922 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.1594, allocations: 348.3 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1594, allocations: 30.56 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1594, allocations: 4 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.1596, allocations: 37.69 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1596, allocations: 51.41 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.1597, allocations: 97.86 kB / 0.6372 GB, free: 14.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1598, allocations: 29.7 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.1598, allocations: 92.03 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.1598, allocations: 11.83 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1599, allocations: 13.84 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.16, allocations: 322.8 kB / 0.6376 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.16, allocations: 11.98 kB / 0.6377 GB, free: 14.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.1601, allocations: 21.66 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.1601, allocations: 17.72 kB / 0.6377 GB, free: 14.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1601, allocations: 4 kB / 0.6377 GB, free: 14.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.936e-05/0.1602, allocations: 53.62 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1602, allocations: 4 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1602, allocations: 0 / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1603, allocations: 4 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.1603, allocations: 4 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1603, allocations: 0 / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.1604, allocations: 3.984 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1604, allocations: 7.938 kB / 0.6378 GB, free: 14.18 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 7.985e-05/0.1605, allocations: 109.8 kB / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1605, allocations: 8.062 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.1606, allocations: 120.8 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/0.1607, allocations: 184.2 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-05/0.1608, allocations: 180.2 kB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.903e-05/0.1608, allocations: 176.3 kB / 0.6385 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.1611, allocations: 413.2 kB / 0.6389 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/0.1611, allocations: 108.9 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.1612, allocations: 101 kB / 0.6391 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/0.1612, allocations: 184.2 kB / 0.6393 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.1613, allocations: 184.2 kB / 0.6395 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.306e-05/0.1614, allocations: 180.3 kB / 0.6396 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.645e-05/0.1614, allocations: 184.2 kB / 0.6398 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.1616, allocations: 307.7 kB / 0.6401 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.1617, allocations: 186.1 kB / 0.6403 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.1618, allocations: 176.3 kB / 0.6404 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1619, allocations: 120.9 kB / 0.6406 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.162, allocations: 176.3 kB / 0.6407 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.979e-05/0.1621, allocations: 104.9 kB / 0.6408 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.1621, allocations: 91.28 kB / 0.6409 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 0.6409 GB, free: 10.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.1624, allocations: 39.92 kB / 0.641 GB, free: 10.69 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.0005803/0.163, allocations: 0.8597 MB / 0.6418 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.1631, allocations: 15.92 kB / 0.6418 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1631, allocations: 0 / 0.6418 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.1631, allocations: 0 / 0.6418 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.1636, allocations: 461.1 kB / 0.6422 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1647, allocations: 1.336 MB / 0.6436 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.1649, allocations: 0.6729 MB / 0.6442 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.165, allocations: 14.59 kB / 0.6442 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.165, allocations: 11.44 kB / 0.6442 GB, free: 7.184 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.165, allocations: 0 / 0.6442 GB, free: 7.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.1905, allocations: 2.162 MB / 0.6463 GB, free: 5.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.752, allocations: 16.08 kB / 0.6464 GB, free: 5.191 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)