Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002639/0.002638, allocations: 357.4 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.375/1.375, allocations: 165.8 MB / 183.1 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.897/3.897, allocations: 410.7 MB / 0.6 GB, free: 37.34 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001818, allocations: 181.8 kB / 0.6668 GB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004459, allocations: 11.84 kB / 0.7428 GB, free: 73.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 67.46 MB / 0.8087 GB, free: 17.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.354, allocations: 338 MB / 1.139 GB, free: 153.2 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.355, allocations: 83.28 kB / 1.139 GB, free: 153.2 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.03632/1.391, allocations: 11.99 MB / 1.151 GB, free: 151.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.903e-06/1.391, allocations: 0 / 1.151 GB, free: 151.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.391, allocations: 0 / 1.151 GB, free: 151.9 MB / 0.573 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.0003283/1.392, allocations: 346.5 kB / 1.151 GB, free: 151.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/1.392, allocations: 11.72 kB / 1.151 GB, free: 151.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/1.392, allocations: 3.906 kB / 1.151 GB, free: 151.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/1.392, allocations: 159.1 kB / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/1.392, allocations: 29.61 kB / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/1.392, allocations: 0 / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/1.392, allocations: 52 kB / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.392, allocations: 4 kB / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.392, allocations: 0 / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/1.392, allocations: 3.938 kB / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/1.392, allocations: 11.42 kB / 1.151 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/1.393, allocations: 334.9 kB / 1.152 GB, free: 150.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/1.393, allocations: 14.58 kB / 1.152 GB, free: 150.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/1.393, allocations: 8.766 kB / 1.152 GB, free: 150.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.598e-05/1.393, allocations: 88.16 kB / 1.152 GB, free: 150.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/1.393, allocations: 30.56 kB / 1.152 GB, free: 150.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.542e-06/1.393, allocations: 0 / 1.152 GB, free: 150.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/1.393, allocations: 41.14 kB / 1.152 GB, free: 150.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/1.393, allocations: 51.41 kB / 1.152 GB, free: 150.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/1.393, allocations: 105.2 kB / 1.152 GB, free: 150.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/1.393, allocations: 25.7 kB / 1.152 GB, free: 150.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/1.393, allocations: 88.17 kB / 1.152 GB, free: 150.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/1.393, allocations: 11.5 kB / 1.152 GB, free: 150.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/1.393, allocations: 0 / 1.152 GB, free: 150.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/1.393, allocations: 314.7 kB / 1.152 GB, free: 150.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/1.393, allocations: 3.562 kB / 1.152 GB, free: 150.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/1.393, allocations: 21.02 kB / 1.152 GB, free: 150.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/1.393, allocations: 9.5 kB / 1.152 GB, free: 150.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.393, allocations: 7.938 kB / 1.152 GB, free: 150.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.772e-05/1.393, allocations: 52.39 kB / 1.152 GB, free: 150 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.393, allocations: 3.906 kB / 1.152 GB, free: 150 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.393, allocations: 0 / 1.152 GB, free: 150 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.393, allocations: 0 / 1.152 GB, free: 150 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/1.393, allocations: 7.812 kB / 1.152 GB, free: 150 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.394, allocations: 0 / 1.152 GB, free: 150 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/1.394, allocations: 11.75 kB / 1.152 GB, free: 150 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/1.394, allocations: 3.906 kB / 1.152 GB, free: 150 MB / 0.573 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 5.857e-05/1.394, allocations: 113.4 kB / 1.152 GB, free: 149.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/1.394, allocations: 3.953 kB / 1.152 GB, free: 149.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/1.394, allocations: 116.6 kB / 1.153 GB, free: 149.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/1.394, allocations: 187.7 kB / 1.153 GB, free: 149.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/1.394, allocations: 176.3 kB / 1.153 GB, free: 149.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/1.394, allocations: 180.3 kB / 1.153 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/1.394, allocations: 411.9 kB / 1.154 GB, free: 148.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/1.394, allocations: 101 kB / 1.154 GB, free: 148.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/1.394, allocations: 112.1 kB / 1.154 GB, free: 148.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-05/1.394, allocations: 184.2 kB / 1.154 GB, free: 148.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/1.394, allocations: 176.3 kB / 1.154 GB, free: 148.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.03e-05/1.394, allocations: 192 kB / 1.154 GB, free: 148 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-05/1.394, allocations: 179.6 kB / 1.154 GB, free: 147.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.04e-05/1.394, allocations: 303.6 kB / 1.155 GB, free: 147.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/1.394, allocations: 188.8 kB / 1.155 GB, free: 147.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/1.394, allocations: 188.2 kB / 1.155 GB, free: 147.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/1.395, allocations: 108.1 kB / 1.155 GB, free: 147 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/1.395, allocations: 184.1 kB / 1.155 GB, free: 146.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/1.395, allocations: 102.2 kB / 1.155 GB, free: 146.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.946e-05/1.395, allocations: 86.58 kB / 1.156 GB, free: 146.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/1.395, allocations: 0 / 1.156 GB, free: 146.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002962/1.395, allocations: 11.72 kB / 1.156 GB, free: 146.7 MB / 0.573 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.0001943/1.395, allocations: 205.2 kB / 1.156 GB, free: 146.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001001/1.395, allocations: 11.52 kB / 1.156 GB, free: 146.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.395, allocations: 8 kB / 1.156 GB, free: 146.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.395, allocations: 0 / 1.156 GB, free: 146.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/1.396, allocations: 0.5222 MB / 1.156 GB, free: 146 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/1.396, allocations: 187.1 kB / 1.156 GB, free: 145.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/1.396, allocations: 0.6805 MB / 1.157 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.314e-05/1.396, allocations: 7.516 kB / 1.157 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/1.396, allocations: 7.438 kB / 1.157 GB, free: 145.1 MB / 0.573 GB Notification: Performance of SimCode: time 7.62e-07/1.396, allocations: 0 / 1.157 GB, free: 145.1 MB / 0.573 GB Notification: Performance of Templates: time 0.00359/1.4, allocations: 0.7884 MB / 1.158 GB, free: 144.9 MB / 0.573 GB