Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 4.0.0+maint.om/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8478/0.8478, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 176.9 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008415, allocations: 88.09 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 273.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.591e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4449, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7906/1.236, allocations: 393.9 MB / 1.142 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.236, allocations: 73.72 kB / 1.142 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0446/1.28, allocations: 18.96 MB / 1.161 GB, free: 5.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/1.281, allocations: 0 / 1.161 GB, free: 5.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.281, allocations: 0 / 1.161 GB, free: 5.422 MB / 0.698 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.0004978/1.281, allocations: 349.4 kB / 1.161 GB, free: 5.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.281, allocations: 16.02 kB / 1.161 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/1.281, allocations: 0 / 1.161 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/1.281, allocations: 167 kB / 1.161 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.521e-05/1.281, allocations: 29.7 kB / 1.161 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/1.281, allocations: 3.938 kB / 1.161 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.096e-05/1.282, allocations: 15.73 kB / 1.161 GB, free: 4.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/1.282, allocations: 37.69 kB / 1.161 GB, free: 4.727 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.282, allocations: 0 / 1.161 GB, free: 4.727 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.282, allocations: 4 kB / 1.161 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/1.282, allocations: 0 / 1.161 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/1.282, allocations: 314 kB / 1.161 GB, free: 4.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.933e-05/1.282, allocations: 22.55 kB / 1.162 GB, free: 4.336 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/1.282, allocations: 4.859 kB / 1.162 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-05/1.282, allocations: 89.16 kB / 1.162 GB, free: 4.223 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.282, allocations: 37.81 kB / 1.162 GB, free: 4.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.896e-06/1.282, allocations: 0 / 1.162 GB, free: 4.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002086/1.283, allocations: 37.62 kB / 1.162 GB, free: 4.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.283, allocations: 55.41 kB / 1.162 GB, free: 4.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/1.283, allocations: 92.75 kB / 1.162 GB, free: 3.977 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.283, allocations: 25.7 kB / 1.162 GB, free: 3.945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/1.283, allocations: 84.05 kB / 1.162 GB, free: 3.859 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/1.283, allocations: 0 / 1.162 GB, free: 3.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/1.283, allocations: 4.031 kB / 1.162 GB, free: 3.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.283, allocations: 318.8 kB / 1.162 GB, free: 3.535 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/1.283, allocations: 7.688 kB / 1.162 GB, free: 3.531 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/1.283, allocations: 13.72 kB / 1.162 GB, free: 3.512 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/1.283, allocations: 11.95 kB / 1.162 GB, free: 3.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.283, allocations: 0 / 1.162 GB, free: 3.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/1.283, allocations: 48.94 kB / 1.162 GB, free: 3.449 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.283, allocations: 4 kB / 1.162 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.283, allocations: 7.984 kB / 1.162 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/1.283, allocations: 0 / 1.162 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/1.283, allocations: 7.938 kB / 1.162 GB, free: 3.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.283, allocations: 0 / 1.162 GB, free: 3.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/1.283, allocations: 7.844 kB / 1.162 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/1.283, allocations: 8 kB / 1.162 GB, free: 3.414 MB / 0.698 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 7.325e-05/1.284, allocations: 104.9 kB / 1.162 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/1.284, allocations: 8.062 kB / 1.162 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/1.284, allocations: 116.8 kB / 1.163 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.478e-05/1.284, allocations: 184.2 kB / 1.163 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.516e-05/1.284, allocations: 176.3 kB / 1.163 GB, free: 2.812 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.006e-05/1.284, allocations: 176.3 kB / 1.163 GB, free: 2.633 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/1.284, allocations: 393.5 kB / 1.163 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.685e-05/1.284, allocations: 101 kB / 1.164 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/1.284, allocations: 105 kB / 1.164 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.879e-05/1.284, allocations: 184.2 kB / 1.164 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/1.284, allocations: 184.2 kB / 1.164 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.54e-05/1.284, allocations: 180.3 kB / 1.164 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.629e-05/1.285, allocations: 184.2 kB / 1.164 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/1.285, allocations: 303.3 kB / 1.165 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.285, allocations: 186 kB / 1.165 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.285, allocations: 184.2 kB / 1.165 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.285, allocations: 112.9 kB / 1.165 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/1.285, allocations: 184.1 kB / 1.165 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/1.285, allocations: 102.2 kB / 1.165 GB, free: 132 kB / 0.698 GB Notification: Performance of sorting global known variables: time 5.944e-05/1.285, allocations: 83.27 kB / 1.165 GB, free: 48 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.285, allocations: 0 / 1.165 GB, free: 48 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002989/1.286, allocations: 23.88 kB / 1.165 GB, free: 28 kB / 0.698 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.4112/1.697, allocations: 226.5 kB / 1.166 GB, free: 273 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001095/1.697, allocations: 8.25 kB / 1.166 GB, free: 273 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.697, allocations: 0.5 kB / 1.166 GB, free: 273 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/1.697, allocations: 1.094 kB / 1.166 GB, free: 273 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/1.697, allocations: 0.5265 MB / 1.166 GB, free: 272.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001777/1.697, allocations: 130.2 kB / 1.166 GB, free: 272.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/1.698, allocations: 0.6768 MB / 1.167 GB, free: 271.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.979e-05/1.698, allocations: 5.391 kB / 1.167 GB, free: 271.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/1.698, allocations: 9.094 kB / 1.167 GB, free: 271.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/1.698, allocations: 2.938 kB / 1.167 GB, free: 271.6 MB / 0.698 GB Notification: Performance of Templates: time 0.003342/1.701, allocations: 0.8369 MB / 1.168 GB, free: 271.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)