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.001563/0.001563, allocations: 107.3 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.001769/0.001769, 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7153/0.7153, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 70.64 kB / 0.5572 GB, free: 32.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1522, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005228/0.1575, allocations: 3.269 MB / 0.6348 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001264/0.1577, allocations: 55.78 kB / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.1577, allocations: 0 / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1578, allocations: 4 kB / 0.6348 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/0.158, allocations: 19.91 kB / 0.6349 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.1587, allocations: 179.2 kB / 0.635 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1588, allocations: 43.78 kB / 0.6351 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1589, allocations: 0 / 0.6351 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.1589, allocations: 8 kB / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.159, allocations: 19.97 kB / 0.6351 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.159, allocations: 0 / 0.6351 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.1595, allocations: 167.6 kB / 0.6353 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.1595, allocations: 11.94 kB / 0.6353 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.1596, allocations: 11.97 kB / 0.6353 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1599, allocations: 134.5 kB / 0.6354 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1599, allocations: 0 / 0.6354 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.16, allocations: 4 kB / 0.6354 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.16, allocations: 0 / 0.6354 GB, free: 0.9648 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.0004955/0.1605, allocations: 352.4 kB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1605, allocations: 8.031 kB / 0.6358 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.1606, allocations: 30.75 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1606, allocations: 8.844 kB / 0.6358 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1608, allocations: 164.4 kB / 0.636 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.1608, allocations: 26.27 kB / 0.636 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1609, allocations: 8.125 kB / 0.636 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.161, allocations: 45.62 kB / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.161, allocations: 0 / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.161, allocations: 0 / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.1611, allocations: 7.938 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.1611, allocations: 15.98 kB / 0.6361 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/0.1618, allocations: 0.5833 MB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.1619, allocations: 18.58 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.1619, allocations: 4.859 kB / 0.6367 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.1622, allocations: 352.4 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1622, allocations: 38.5 kB / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1622, allocations: 0 / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.1624, allocations: 29.7 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1624, allocations: 51.41 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.1625, allocations: 105.8 kB / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1625, allocations: 25.7 kB / 0.6372 GB, free: 14.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.1626, allocations: 84.05 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.1626, allocations: 15.97 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1626, allocations: 13.72 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1627, allocations: 326.8 kB / 0.6376 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.1628, allocations: 4 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.1628, allocations: 17.66 kB / 0.6377 GB, free: 14.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.832e-05/0.1628, allocations: 29.7 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1629, allocations: 0 / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.912e-05/0.1629, allocations: 41.64 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.163, allocations: 4 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.163, allocations: 8.266 kB / 0.6377 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.163, allocations: 0 / 0.6377 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.163, allocations: 4 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1631, allocations: 3.984 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.1631, allocations: 8 kB / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1631, allocations: 4 kB / 0.6378 GB, free: 14.17 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 6.75e-05/0.1632, allocations: 113.8 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1632, allocations: 7.984 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.1633, allocations: 128.8 kB / 0.638 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/0.1634, allocations: 176.3 kB / 0.6382 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-05/0.1634, allocations: 180.2 kB / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.794e-05/0.1635, allocations: 180.3 kB / 0.6385 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.1637, allocations: 409.2 kB / 0.6389 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/0.1638, allocations: 116.9 kB / 0.639 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.1638, allocations: 105 kB / 0.6391 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-05/0.1639, allocations: 180.2 kB / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.1639, allocations: 180.3 kB / 0.6395 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.832e-05/0.164, allocations: 176.3 kB / 0.6396 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.195e-05/0.1641, allocations: 188.2 kB / 0.6398 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.1642, allocations: 307.7 kB / 0.6401 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.1643, allocations: 182 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.1644, allocations: 188.2 kB / 0.6405 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1645, allocations: 112.9 kB / 0.6406 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.1646, allocations: 176.3 kB / 0.6407 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.1647, allocations: 108.9 kB / 0.6408 GB, free: 10.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.1647, allocations: 87.27 kB / 0.6409 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1647, allocations: 0 / 0.6409 GB, free: 10.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.165, allocations: 35.94 kB / 0.641 GB, free: 10.68 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.0005752/0.1656, allocations: 0.8644 MB / 0.6418 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.656e-05/0.1657, allocations: 15.94 kB / 0.6418 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1657, allocations: 0 / 0.6418 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.1657, allocations: 0 / 0.6418 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.1662, allocations: 464.4 kB / 0.6423 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1672, allocations: 1.332 MB / 0.6436 GB, free: 7.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1674, allocations: 0.6729 MB / 0.6442 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.123e-05/0.1675, allocations: 8 kB / 0.6442 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1675, allocations: 19.31 kB / 0.6442 GB, free: 7.168 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1675, allocations: 0 / 0.6442 GB, free: 7.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.1862, allocations: 2.16 MB / 0.6463 GB, free: 5.195 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.271, allocations: 6.094 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)