Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009316/0.0009316, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.04/1.04, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003043, allocations: 12 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1608, allocations: 83.4 MB / 0.5973 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004851/0.1657, allocations: 3.384 MB / 0.6006 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.166, allocations: 131.7 kB / 0.6007 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.166, allocations: 0 / 0.6007 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1662, allocations: 3.984 kB / 0.6007 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.1662, allocations: 11.98 kB / 0.6007 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1666, allocations: 63.83 kB / 0.6008 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.1667, allocations: 15.97 kB / 0.6008 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/0.1668, allocations: 4 kB / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.1668, allocations: 11.98 kB / 0.6008 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1669, allocations: 11.94 kB / 0.6008 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1669, allocations: 0 / 0.6008 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.1672, allocations: 31.91 kB / 0.6008 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.1672, allocations: 15.97 kB / 0.6009 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.1673, allocations: 29.7 kB / 0.6009 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1674, allocations: 23.98 kB / 0.6009 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1674, allocations: 4 kB / 0.6009 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1674, allocations: 0 / 0.6009 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1674, allocations: 0 / 0.6009 GB, free: 4.156 MB / 0.4981 GB 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.0004001/0.1678, allocations: 327.6 kB / 0.6012 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1679, allocations: 15.97 kB / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.1679, allocations: 7.859 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1681, allocations: 159.1 kB / 0.6014 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/0.1682, allocations: 33.69 kB / 0.6014 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1682, allocations: 0 / 0.6014 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1683, allocations: 45.69 kB / 0.6015 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1683, allocations: 3.938 kB / 0.6015 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1684, allocations: 3.984 kB / 0.6015 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.1684, allocations: 4 kB / 0.6015 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.515e-05/0.1684, allocations: 11.95 kB / 0.6015 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.1689, allocations: 338 kB / 0.6018 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.169, allocations: 22.56 kB / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.953e-05/0.1691, allocations: 85.17 kB / 0.6019 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1691, allocations: 34.56 kB / 0.602 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1691, allocations: 0 / 0.602 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000154/0.1693, allocations: 41.58 kB / 0.602 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1693, allocations: 51.41 kB / 0.602 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.1694, allocations: 101.9 kB / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1694, allocations: 29.83 kB / 0.6022 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.1695, allocations: 91.97 kB / 0.6023 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.1695, allocations: 7.906 kB / 0.6023 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.1695, allocations: 4 kB / 0.6023 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1696, allocations: 310.8 kB / 0.6026 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.1696, allocations: 3.938 kB / 0.6026 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.1697, allocations: 13.72 kB / 0.6026 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.1697, allocations: 15.98 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1697, allocations: 0 / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.425e-05/0.1698, allocations: 49.64 kB / 0.6026 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1698, allocations: 7.984 kB / 0.6027 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1698, allocations: 0 / 0.6027 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1698, allocations: 3.953 kB / 0.6027 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.1699, allocations: 8 kB / 0.6027 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1699, allocations: 4 kB / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.1699, allocations: 0 / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1699, allocations: 4.062 kB / 0.6027 GB, free: 2.09 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.17, allocations: 109.8 kB / 0.6028 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1701, allocations: 0 / 0.6028 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1702, allocations: 124.9 kB / 0.6029 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/0.1703, allocations: 176.3 kB / 0.6031 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.345e-05/0.1703, allocations: 188.2 kB / 0.6032 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-05/0.1704, allocations: 184.2 kB / 0.6034 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1706, allocations: 405.2 kB / 0.6038 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/0.1707, allocations: 109 kB / 0.6039 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.1707, allocations: 101 kB / 0.604 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.038e-05/0.1708, allocations: 180.2 kB / 0.6042 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.1708, allocations: 184.3 kB / 0.6044 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-05/0.1709, allocations: 184.2 kB / 0.6045 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2867/0.4576, allocations: 177.1 kB / 0.6047 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.4578, allocations: 307.9 kB / 0.605 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.4578, allocations: 186.5 kB / 0.6052 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.4579, allocations: 186.5 kB / 0.6053 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.458, allocations: 105.5 kB / 0.6054 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4581, allocations: 179.3 kB / 0.6056 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4581, allocations: 109.5 kB / 0.6057 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.4582, allocations: 87.77 kB / 0.6058 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4582, allocations: 0.7188 kB / 0.6058 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003033/0.4585, allocations: 13.91 kB / 0.6058 GB, free: 40.44 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000143/0.4586, allocations: 190.2 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.4587, allocations: 15.97 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4587, allocations: 0 / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.4587, allocations: 3.969 kB / 0.606 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.459, allocations: 0.524 MB / 0.6065 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.4592, allocations: 188.5 kB / 0.6067 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.207e-05/0.4593, allocations: 0.6776 MB / 0.6074 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.4594, allocations: 6.5 kB / 0.6074 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.4594, allocations: 11.31 kB / 0.6074 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.4594, allocations: 0.5 kB / 0.6074 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.002304/0.4617, allocations: 0.5579 MB / 0.6079 GB, free: 38.87 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: