Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.716/2.716, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001441, allocations: 184.8 kB / 360.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.3 MB / 0.6192 GB, free: 12.1 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 101.2 kB / 0.7323 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.77e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8595, allocations: 115.3 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/2.099, allocations: 376.8 MB / 1.331 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/2.1, allocations: 71.09 kB / 1.331 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04532/2.145, allocations: 11.94 MB / 1.343 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.523e-06/2.145, allocations: 4 kB / 1.343 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.665e-06/2.145, allocations: 0 / 1.343 GB, free: 177.9 MB / 0.8542 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.0002971/2.145, allocations: 331 kB / 1.343 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/2.145, allocations: 11.75 kB / 1.343 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/2.145, allocations: 6.062 kB / 1.343 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/2.145, allocations: 171 kB / 1.344 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/2.146, allocations: 29.58 kB / 1.344 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/2.146, allocations: 0 / 1.344 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.943e-05/2.146, allocations: 11.75 kB / 1.344 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.971e-05/2.146, allocations: 40.94 kB / 1.344 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/2.146, allocations: 0 / 1.344 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/2.146, allocations: 0 / 1.344 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/2.146, allocations: 3.984 kB / 1.344 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/2.146, allocations: 320.5 kB / 1.344 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/2.146, allocations: 18.52 kB / 1.344 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/2.146, allocations: 8.859 kB / 1.344 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/2.146, allocations: 84.73 kB / 1.344 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/2.146, allocations: 34.55 kB / 1.344 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/2.146, allocations: 0 / 1.344 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001719/2.147, allocations: 37.33 kB / 1.344 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/2.147, allocations: 51.41 kB / 1.344 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/2.147, allocations: 88.88 kB / 1.344 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/2.147, allocations: 33.72 kB / 1.344 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/2.147, allocations: 91.61 kB / 1.344 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-06/2.147, allocations: 0 / 1.344 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/2.147, allocations: 0 / 1.344 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/2.147, allocations: 314.8 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/2.147, allocations: 7.812 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/2.147, allocations: 17.22 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/2.147, allocations: 11.86 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/2.147, allocations: 0 / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001252/2.147, allocations: 45.03 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/2.147, allocations: 3.875 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/2.147, allocations: 2.031 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/2.147, allocations: 2.25 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/2.147, allocations: 11.56 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/2.147, allocations: 3.938 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/2.147, allocations: 10.84 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/2.147, allocations: 11.83 kB / 1.345 GB, free: 176 MB / 0.8542 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 () * 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.873e-05/2.147, allocations: 110.4 kB / 1.345 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/2.148, allocations: 0 / 1.345 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/2.148, allocations: 114.6 kB / 1.345 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/2.148, allocations: 180.2 kB / 1.345 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-05/2.148, allocations: 188 kB / 1.345 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.333e-05/2.148, allocations: 180.3 kB / 1.346 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/2.148, allocations: 389.4 kB / 1.346 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/2.148, allocations: 101 kB / 1.346 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/2.148, allocations: 105 kB / 1.346 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.451e-05/2.148, allocations: 183.3 kB / 1.346 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/2.148, allocations: 184.1 kB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.129e-05/2.148, allocations: 180.2 kB / 1.347 GB, free: 174 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.351e-05/2.148, allocations: 180.2 kB / 1.347 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.888e-05/2.148, allocations: 303.4 kB / 1.347 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/2.148, allocations: 186 kB / 1.347 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/2.148, allocations: 184 kB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/2.149, allocations: 104.9 kB / 1.348 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/2.149, allocations: 185.8 kB / 1.348 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/2.149, allocations: 101 kB / 1.348 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.567e-05/2.149, allocations: 88.66 kB / 1.348 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/2.149, allocations: 0 / 1.348 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000326/2.149, allocations: 19.5 kB / 1.348 GB, free: 172.7 MB / 0.8542 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 () * 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.0002338/2.149, allocations: 203.6 kB / 1.348 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.646e-05/2.149, allocations: 15.41 kB / 1.348 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.149, allocations: 0 / 1.348 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/2.149, allocations: 0 / 1.348 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/2.15, allocations: 0.5239 MB / 1.349 GB, free: 172 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/2.15, allocations: 135.2 kB / 1.349 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/2.15, allocations: 0.6805 MB / 1.35 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.285e-05/2.15, allocations: 5.406 kB / 1.35 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/2.15, allocations: 11.28 kB / 1.35 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/2.15, allocations: 0 / 1.35 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003486/2.154, allocations: 0.6632 MB / 1.35 GB, free: 170.8 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)