Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001279/0.001279, allocations: 99.75 kB / 16.94 MB, free: 6.191 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.00125/0.00125, allocations: 191.6 kB / 17.87 MB, free: 5.289 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.385/1.385, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8428/0.8428, allocations: 125.4 MB / 417.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 75.81 kB / 0.4948 GB, free: 4.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 78.55 MB / 0.5715 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004552/0.3446, allocations: 4.001 MB / 0.5754 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.3447, allocations: 157.9 kB / 0.5756 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.3448, allocations: 3.312 kB / 0.5756 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.26e-05/0.3449, allocations: 4.594 kB / 0.5756 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.3449, allocations: 13.78 kB / 0.5756 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.3452, allocations: 75.61 kB / 0.5756 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.3453, allocations: 37.22 kB / 0.5757 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.3454, allocations: 5.391 kB / 0.5757 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.3454, allocations: 14.27 kB / 0.5757 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.3455, allocations: 11.97 kB / 0.5757 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.3455, allocations: 1.781 kB / 0.5757 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.3457, allocations: 62.12 kB / 0.5758 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.3457, allocations: 5.328 kB / 0.5758 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.3458, allocations: 13.31 kB / 0.5758 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.3459, allocations: 47.47 kB / 0.5758 GB, free: 28.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3459, allocations: 0 / 0.5758 GB, free: 28.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3459, allocations: 1.094 kB / 0.5758 GB, free: 28.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3459, allocations: 0 / 0.5758 GB, free: 28.21 MB / 446.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.0002905/0.3462, allocations: 339.5 kB / 0.5762 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3463, allocations: 11.5 kB / 0.5762 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3463, allocations: 2.797 kB / 0.5762 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.3464, allocations: 162.3 kB / 0.5763 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.3464, allocations: 29.53 kB / 0.5764 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.3465, allocations: 5.344 kB / 0.5764 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3466, allocations: 53.5 kB / 0.5764 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3466, allocations: 0 / 0.5764 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3466, allocations: 0 / 0.5764 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.3466, allocations: 2.141 kB / 0.5764 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.3467, allocations: 18.33 kB / 0.5764 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.347, allocations: 332.3 kB / 0.5768 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.186e-05/0.3471, allocations: 18.45 kB / 0.5768 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.3471, allocations: 8.047 kB / 0.5768 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.737e-05/0.3472, allocations: 92.83 kB / 0.5769 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.3472, allocations: 32.48 kB / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3472, allocations: 0.8438 kB / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.3473, allocations: 41.28 kB / 0.5769 GB, free: 27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.3474, allocations: 53.61 kB / 0.577 GB, free: 26.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.3474, allocations: 102.9 kB / 0.5771 GB, free: 26.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.3474, allocations: 26.8 kB / 0.5771 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.3475, allocations: 88.09 kB / 0.5772 GB, free: 26.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/0.3475, allocations: 0.6562 kB / 0.5772 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.3475, allocations: 19.62 kB / 0.5772 GB, free: 26.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.3475, allocations: 316.2 kB / 0.5775 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.3476, allocations: 3.469 kB / 0.5775 GB, free: 26.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.3476, allocations: 20.16 kB / 0.5775 GB, free: 26.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.3476, allocations: 22.48 kB / 0.5776 GB, free: 26.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3476, allocations: 1.156 kB / 0.5776 GB, free: 26.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.645e-05/0.3477, allocations: 50.84 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3477, allocations: 6.531 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3477, allocations: 4 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3478, allocations: 1.156 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.3478, allocations: 7.406 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3478, allocations: 1.625 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.3478, allocations: 5.344 kB / 0.5776 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3478, allocations: 1.828 kB / 0.5776 GB, free: 26.3 MB / 446.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 4.393e-05/0.3479, allocations: 117.3 kB / 0.5777 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3479, allocations: 6.391 kB / 0.5778 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.346e-05/0.348, allocations: 120.9 kB / 0.5779 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.348, allocations: 186.9 kB / 0.578 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.3481, allocations: 185.7 kB / 0.5782 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.3481, allocations: 180.2 kB / 0.5784 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3482, allocations: 408.5 kB / 0.5788 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.3482, allocations: 106.8 kB / 0.5789 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.3482, allocations: 102.7 kB / 0.579 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/0.3483, allocations: 179.5 kB / 0.5792 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3483, allocations: 186.4 kB / 0.5793 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/0.3483, allocations: 178.1 kB / 0.5795 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-05/0.3483, allocations: 184.2 kB / 0.5797 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.871e-05/0.3484, allocations: 306 kB / 0.58 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.3484, allocations: 190.3 kB / 0.5802 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3485, allocations: 180 kB / 0.5803 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3486, allocations: 113 kB / 0.5804 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.3486, allocations: 179.1 kB / 0.5806 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3487, allocations: 103.3 kB / 0.5807 GB, free: 23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.3487, allocations: 84.17 kB / 0.5808 GB, free: 22.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3487, allocations: 0 / 0.5808 GB, free: 22.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3489, allocations: 24.69 kB / 0.5808 GB, free: 22.92 MB / 446.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.0001867/0.3491, allocations: 203.1 kB / 0.581 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.604e-05/0.3492, allocations: 9.422 kB / 0.581 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3492, allocations: 0 / 0.581 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.3492, allocations: 0 / 0.581 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3495, allocations: 465.9 kB / 0.5815 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.3497, allocations: 215.5 kB / 0.5817 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.028e-05/0.3498, allocations: 0.6754 MB / 0.5823 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.3498, allocations: 10.59 kB / 0.5823 GB, free: 21.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3499, allocations: 0 / 0.5823 GB, free: 21.37 MB / 446.1 MB Notification: Performance of Templates: time 0.002249/0.3521, allocations: 0.7504 MB / 0.5831 GB, free: 21.35 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)