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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 171.5 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4976/0.4976, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.2 MB / 348.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009993, allocations: 95.47 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004713, allocations: 16 kB / 0.4901 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4102, allocations: 71.02 MB / 0.5594 GB, free: 43.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.716/1.126, allocations: 340 MB / 0.8915 GB, free: 4.738 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.127, allocations: 71.66 kB / 0.8916 GB, free: 4.703 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02745/1.154, allocations: 13.27 MB / 0.9045 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.024e-06/1.154, allocations: 0 / 0.9045 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.154, allocations: 0 / 0.9045 GB, free: 10.23 MB / 0.5886 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.0003804/1.154, allocations: 339 kB / 0.9049 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.155, allocations: 8.031 kB / 0.9049 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/1.155, allocations: 0.9375 kB / 0.9049 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/1.155, allocations: 176.2 kB / 0.905 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/1.155, allocations: 34.06 kB / 0.9051 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/1.155, allocations: 384 / 0.9051 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/1.155, allocations: 42.25 kB / 0.9051 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.155, allocations: 3.938 kB / 0.9051 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.155, allocations: 3.984 kB / 0.9051 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/1.155, allocations: 0 / 0.9051 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/1.155, allocations: 15.61 kB / 0.9051 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/1.156, allocations: 337.6 kB / 0.9054 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/1.156, allocations: 22.52 kB / 0.9055 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/1.156, allocations: 4.859 kB / 0.9055 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.878e-05/1.156, allocations: 88.86 kB / 0.9056 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.156, allocations: 34.55 kB / 0.9056 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/1.156, allocations: 0 / 0.9056 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000138/1.156, allocations: 37.64 kB / 0.9056 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/1.156, allocations: 51.41 kB / 0.9057 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/1.156, allocations: 105.6 kB / 0.9058 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/1.156, allocations: 25.7 kB / 0.9058 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/1.156, allocations: 84.05 kB / 0.9059 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/1.156, allocations: 7.938 kB / 0.9059 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/1.156, allocations: 3.938 kB / 0.9059 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.156, allocations: 310.8 kB / 0.9062 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/1.156, allocations: 12.11 kB / 0.9062 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/1.156, allocations: 13.72 kB / 0.9062 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/1.156, allocations: 25.41 kB / 0.9062 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.156, allocations: 3.938 kB / 0.9062 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.589e-05/1.156, allocations: 49.09 kB / 0.9063 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.156, allocations: 8 kB / 0.9063 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.156, allocations: 4.062 kB / 0.9063 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.157, allocations: 0 / 0.9063 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/1.157, allocations: 4 kB / 0.9063 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.157, allocations: 3.938 kB / 0.9063 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/1.157, allocations: 7.984 kB / 0.9063 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/1.157, allocations: 0 / 0.9063 GB, free: 8.16 MB / 0.5886 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.671e-05/1.157, allocations: 117 kB / 0.9064 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/1.157, allocations: 0 / 0.9064 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/1.157, allocations: 121.1 kB / 0.9065 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.566e-05/1.157, allocations: 184.2 kB / 0.9067 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.996e-05/1.157, allocations: 176.3 kB / 0.9069 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/1.157, allocations: 184.2 kB / 0.9071 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/1.157, allocations: 408.9 kB / 0.9075 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.707e-05/1.157, allocations: 109 kB / 0.9076 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/1.157, allocations: 104.9 kB / 0.9077 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-05/1.158, allocations: 182.8 kB / 0.9078 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/1.158, allocations: 176.3 kB / 0.908 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.448e-05/1.158, allocations: 184.2 kB / 0.9082 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.878e-05/1.158, allocations: 184 kB / 0.9084 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/1.158, allocations: 315.8 kB / 0.9087 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/1.158, allocations: 189.4 kB / 0.9088 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/1.158, allocations: 180.3 kB / 0.909 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/1.158, allocations: 109 kB / 0.9091 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/1.158, allocations: 184.2 kB / 0.9093 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/1.158, allocations: 101 kB / 0.9094 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.942e-05/1.158, allocations: 87.08 kB / 0.9095 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/1.158, allocations: 4 kB / 0.9095 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000262/1.159, allocations: 19.94 kB / 0.9095 GB, free: 4.719 MB / 0.5886 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.0002236/1.159, allocations: 206.2 kB / 0.9097 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.107e-05/1.159, allocations: 7.938 kB / 0.9097 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.159, allocations: 0 / 0.9097 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/1.159, allocations: 7.938 kB / 0.9097 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/1.159, allocations: 0.5332 MB / 0.9102 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/1.16, allocations: 183.9 kB / 0.9104 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/1.16, allocations: 0.677 MB / 0.9111 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.637e-05/1.16, allocations: 11.98 kB / 0.9111 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/1.16, allocations: 7.438 kB / 0.9111 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/1.16, allocations: 0 / 0.9111 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of Templates: time 0.002836/1.163, allocations: 0.8343 MB / 0.9119 GB, free: 2.207 MB / 0.5886 GB 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)