Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005806/0.005806, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001327/0.001327, allocations: 192 kB / 16.67 MB, free: 6.379 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 287 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 99.84 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1573, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004585/0.1619, allocations: 3.272 MB / 0.7696 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 9.845e-05/0.162, allocations: 47.88 kB / 0.7696 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.162, allocations: 0 / 0.7696 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.24e-05/0.1621, allocations: 11.88 kB / 0.7697 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.1622, allocations: 19.91 kB / 0.7697 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.1628, allocations: 186.1 kB / 0.7699 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.1629, allocations: 31.91 kB / 0.7699 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.1629, allocations: 0 / 0.7699 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.163, allocations: 23.91 kB / 0.7699 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.1631, allocations: 11.94 kB / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1631, allocations: 7.938 kB / 0.7699 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.1634, allocations: 167.6 kB / 0.7701 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.1635, allocations: 11.97 kB / 0.7701 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1635, allocations: 4 kB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1638, allocations: 135.7 kB / 0.7702 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1638, allocations: 4 kB / 0.7702 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1638, allocations: 0 / 0.7702 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1638, allocations: 0 / 0.7702 GB, free: 4.477 MB / 0.5606 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.000363/0.1642, allocations: 351.4 kB / 0.7706 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1642, allocations: 12.03 kB / 0.7706 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.1643, allocations: 12.92 kB / 0.7706 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1644, allocations: 160.4 kB / 0.7707 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.1644, allocations: 26.27 kB / 0.7708 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1645, allocations: 4.375 kB / 0.7708 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1646, allocations: 49.61 kB / 0.7708 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1646, allocations: 0 / 0.7708 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1646, allocations: 0 / 0.7708 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1646, allocations: 4 kB / 0.7708 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.1647, allocations: 15.98 kB / 0.7708 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.1653, allocations: 0.5871 MB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.1653, allocations: 18.58 kB / 0.7714 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.1654, allocations: 4.859 kB / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.1656, allocations: 340.5 kB / 0.7718 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1656, allocations: 42.56 kB / 0.7718 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1656, allocations: 0 / 0.7718 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.1658, allocations: 37.55 kB / 0.7718 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1658, allocations: 51.41 kB / 0.7719 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.1659, allocations: 109.8 kB / 0.772 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1659, allocations: 25.7 kB / 0.772 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.166, allocations: 88.05 kB / 0.7721 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-06/0.166, allocations: 7.938 kB / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.166, allocations: 21.83 kB / 0.7721 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1661, allocations: 318.8 kB / 0.7724 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.1661, allocations: 0 / 0.7724 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.1662, allocations: 17.72 kB / 0.7724 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/0.1662, allocations: 25.64 kB / 0.7725 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1662, allocations: 4 kB / 0.7725 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.282e-05/0.1663, allocations: 41.7 kB / 0.7725 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1663, allocations: 11.98 kB / 0.7725 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1663, allocations: 0 / 0.7725 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1663, allocations: 0 / 0.7725 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.321e-05/0.1664, allocations: 7.938 kB / 0.7725 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1664, allocations: 3.938 kB / 0.7725 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.1664, allocations: 4 kB / 0.7725 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1664, allocations: 0 / 0.7725 GB, free: 1.723 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.1665, allocations: 122.5 kB / 0.7727 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1665, allocations: 3.906 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.1666, allocations: 118.8 kB / 0.7728 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/0.1667, allocations: 180.2 kB / 0.7729 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.706e-05/0.1668, allocations: 184.2 kB / 0.7731 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/0.1668, allocations: 188.2 kB / 0.7733 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.167, allocations: 405.2 kB / 0.7737 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.1671, allocations: 105 kB / 0.7738 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.1671, allocations: 108.9 kB / 0.7739 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.505e-05/0.1672, allocations: 176.3 kB / 0.7741 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.3517/0.5189, allocations: 181.9 kB / 0.7742 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.414e-05/0.5189, allocations: 180.1 kB / 0.7744 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.365e-05/0.519, allocations: 178.9 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.5191, allocations: 314.2 kB / 0.7749 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.5192, allocations: 180.4 kB / 0.775 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.5192, allocations: 180.8 kB / 0.7752 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.5194, allocations: 109 kB / 0.7753 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.5194, allocations: 180.1 kB / 0.7755 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5195, allocations: 109.3 kB / 0.7756 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.5195, allocations: 88.53 kB / 0.7757 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.6e-07/0.5195, allocations: 0 / 0.7757 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003949/0.5199, allocations: 37.12 kB / 0.7757 GB, free: 13.78 MB / 0.5606 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 (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.0003256/0.5203, allocations: 232 kB / 0.7759 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.5204, allocations: 8.422 kB / 0.7759 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5204, allocations: 0.8438 kB / 0.776 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.5204, allocations: 0.5312 kB / 0.776 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.5208, allocations: 473.2 kB / 0.7764 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.521, allocations: 177.4 kB / 0.7766 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.5212, allocations: 0.6756 MB / 0.7772 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.5212, allocations: 10.98 kB / 0.7772 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.5212, allocations: 9.094 kB / 0.7773 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5213, allocations: 0 / 0.7773 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.004021/0.5253, allocations: 1.219 MB / 0.7784 GB, free: 12.21 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)