Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.587/2.587, allocations: 287.5 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001337, allocations: 180.5 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 84.62 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 15.39 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.454, allocations: 377.6 MB / 1.348 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.454, allocations: 76.41 kB / 1.348 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04081/1.495, allocations: 12.01 MB / 1.36 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.924e-06/1.495, allocations: 0 / 1.36 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.495, allocations: 0 / 1.36 GB, free: 10.75 MB / 0.8855 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.0004143/1.495, allocations: 343.1 kB / 1.36 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.495, allocations: 8.031 kB / 1.36 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/1.495, allocations: 0.9375 kB / 1.36 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/1.495, allocations: 169 kB / 1.36 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/1.495, allocations: 26.27 kB / 1.36 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/1.496, allocations: 384 / 1.36 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/1.496, allocations: 50.06 kB / 1.36 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.496, allocations: 3.938 kB / 1.36 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.496, allocations: 4 kB / 1.36 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/1.496, allocations: 0 / 1.36 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.092e-05/1.496, allocations: 15.73 kB / 1.36 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/1.496, allocations: 337.1 kB / 1.361 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.682e-05/1.496, allocations: 22.52 kB / 1.361 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/1.496, allocations: 4.859 kB / 1.361 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/1.497, allocations: 85.17 kB / 1.361 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/1.497, allocations: 38.55 kB / 1.361 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/1.497, allocations: 0 / 1.361 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/1.497, allocations: 36.52 kB / 1.361 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.497, allocations: 51.41 kB / 1.361 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/1.497, allocations: 105.5 kB / 1.361 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.497, allocations: 25.7 kB / 1.361 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/1.497, allocations: 92.11 kB / 1.361 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/1.497, allocations: 4 kB / 1.361 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/1.497, allocations: 3.625 kB / 1.361 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.497, allocations: 310.8 kB / 1.361 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/1.497, allocations: 7.984 kB / 1.361 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/1.497, allocations: 9.719 kB / 1.362 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/1.497, allocations: 28.72 kB / 1.362 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.497, allocations: 0 / 1.362 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001084/1.497, allocations: 56.16 kB / 1.362 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.498, allocations: 8 kB / 1.362 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.498, allocations: 0 / 1.362 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.498, allocations: 0 / 1.362 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/1.498, allocations: 7.938 kB / 1.362 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.498, allocations: 3.984 kB / 1.362 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/1.498, allocations: 11.94 kB / 1.362 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/1.498, allocations: 0 / 1.362 GB, free: 8.684 MB / 0.8855 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 9.21e-05/1.498, allocations: 117.8 kB / 1.362 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/1.498, allocations: 0 / 1.362 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/1.498, allocations: 124.1 kB / 1.362 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.96e-05/1.498, allocations: 180.3 kB / 1.362 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.392e-05/1.498, allocations: 180.2 kB / 1.362 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.897e-05/1.498, allocations: 184.3 kB / 1.362 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/1.499, allocations: 408.3 kB / 1.363 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/1.499, allocations: 105 kB / 1.363 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/1.499, allocations: 105.1 kB / 1.363 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.977e-05/1.499, allocations: 184.2 kB / 1.363 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/1.499, allocations: 176.3 kB / 1.363 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-05/1.499, allocations: 188.2 kB / 1.363 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.185e-05/1.499, allocations: 176.3 kB / 1.364 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/1.499, allocations: 314.9 kB / 1.364 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/1.499, allocations: 182 kB / 1.364 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/1.5, allocations: 193.2 kB / 1.364 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/1.5, allocations: 109 kB / 1.364 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/1.5, allocations: 176.3 kB / 1.365 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/1.5, allocations: 108.9 kB / 1.365 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.033e-05/1.5, allocations: 86.7 kB / 1.365 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.5e-07/1.5, allocations: 0 / 1.365 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003463/1.5, allocations: 20 kB / 1.365 GB, free: 5.242 MB / 0.8855 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.0002738/1.501, allocations: 202.4 kB / 1.365 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001012/1.501, allocations: 11.06 kB / 1.365 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.501, allocations: 3.938 kB / 1.365 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/1.501, allocations: 0 / 1.365 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/1.501, allocations: 0.534 MB / 1.366 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/1.502, allocations: 192.5 kB / 1.366 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.502, allocations: 0.6692 MB / 1.366 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.057e-05/1.502, allocations: 7.984 kB / 1.366 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/1.502, allocations: 11.44 kB / 1.366 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of SimCode: time 9.22e-07/1.502, allocations: 0 / 1.366 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of Templates: time 0.004092/1.506, allocations: 0.7895 MB / 1.367 GB, free: 2.781 MB / 0.8855 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)