Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7524/0.7524, allocations: 140.1 MB / 156 MB, free: 8.418 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009299/0.00093, allocations: 184.5 kB / 188.5 MB, free: 9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 426.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008244/0.0008244, allocations: 94.36 kB / 0.4945 GB, free: 8.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00161/0.00161, allocations: 272.8 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.000643, allocations: 20 kB / 0.662 GB, free: 6.742 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3324, allocations: 79.29 MB / 0.7394 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6049/0.9373, allocations: 347 MB / 1.078 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.9376, allocations: 75.36 kB / 1.078 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02826/0.9659, allocations: 13.04 MB / 1.091 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9659, allocations: 0 / 1.091 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.966, allocations: 0 / 1.091 GB, free: 3.117 MB / 0.6198 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.0003469/0.9663, allocations: 334.9 kB / 1.091 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9664, allocations: 8.031 kB / 1.091 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.9664, allocations: 0.9375 kB / 1.091 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.9665, allocations: 176.2 kB / 1.092 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.9666, allocations: 30.25 kB / 1.092 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.9666, allocations: 384 / 1.092 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.9668, allocations: 45.12 kB / 1.092 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.9668, allocations: 3.938 kB / 1.092 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.9668, allocations: 0 / 1.092 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.9669, allocations: 0 / 1.092 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.9669, allocations: 22.72 kB / 1.092 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.9673, allocations: 336.1 kB / 1.092 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.9674, allocations: 22.52 kB / 1.092 GB, free: 2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.9674, allocations: 4.859 kB / 1.092 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.9675, allocations: 81.17 kB / 1.092 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.9675, allocations: 34.56 kB / 1.092 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.9675, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.9677, allocations: 45.19 kB / 1.092 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.9677, allocations: 51.41 kB / 1.092 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.9678, allocations: 109.3 kB / 1.092 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.9678, allocations: 25.7 kB / 1.092 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.9679, allocations: 84.05 kB / 1.092 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.9679, allocations: 7.938 kB / 1.092 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.9679, allocations: 0 / 1.092 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.968, allocations: 314.4 kB / 1.093 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.968, allocations: 8.125 kB / 1.093 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.9681, allocations: 13.7 kB / 1.093 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.9681, allocations: 25.53 kB / 1.093 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9681, allocations: 0 / 1.093 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.642e-05/0.9682, allocations: 53.47 kB / 1.093 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9682, allocations: 10.19 kB / 1.093 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9682, allocations: 4.062 kB / 1.093 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.9682, allocations: 0 / 1.093 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/0.9683, allocations: 4 kB / 1.093 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.9683, allocations: 0 / 1.093 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.9683, allocations: 4 kB / 1.093 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.9684, allocations: 7.922 kB / 1.093 GB, free: 1.055 MB / 0.6198 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 8.033e-05/0.9684, allocations: 120.6 kB / 1.093 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.9685, allocations: 0 / 1.093 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.9686, allocations: 117 kB / 1.093 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.978e-05/0.9687, allocations: 187.7 kB / 1.093 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/0.9687, allocations: 180.3 kB / 1.093 GB, free: 448 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.353e-05/0.9688, allocations: 180.3 kB / 1.094 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.969, allocations: 408 kB / 1.094 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-05/0.9691, allocations: 109 kB / 1.094 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.9691, allocations: 104.9 kB / 1.094 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.309e-05/0.9692, allocations: 176.3 kB / 1.094 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.466e-05/0.9693, allocations: 180.2 kB / 1.095 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.341e-05/0.9694, allocations: 187.7 kB / 1.095 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.156e-05/0.9694, allocations: 176.3 kB / 1.095 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.9696, allocations: 316.3 kB / 1.095 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.9697, allocations: 186 kB / 1.095 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.9697, allocations: 188.1 kB / 1.096 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.9699, allocations: 112.2 kB / 1.096 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.97, allocations: 184.2 kB / 1.096 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.97, allocations: 101 kB / 1.096 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.97, allocations: 82.22 kB / 1.096 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.292e-06/0.9701, allocations: 0 / 1.096 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002858/0.9703, allocations: 31.86 kB / 1.096 GB, free: 13.61 MB / 0.6355 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.0002031/0.9706, allocations: 198.8 kB / 1.096 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.9706, allocations: 15.44 kB / 1.096 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9706, allocations: 0 / 1.096 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.9706, allocations: 0 / 1.096 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.9711, allocations: 0.5353 MB / 1.097 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.9714, allocations: 183.4 kB / 1.097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.9716, allocations: 0.6731 MB / 1.098 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.974e-05/0.9717, allocations: 19.86 kB / 1.098 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.9717, allocations: 11.42 kB / 1.098 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9717, allocations: 0 / 1.098 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of Templates: time 0.003261/0.975, allocations: 0.826 MB / 1.098 GB, free: 11.1 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)