Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009528/0.0009529, allocations: 172.8 kB / 16.58 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8.219 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 77.54 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4113/0.5507, allocations: 148.2 MB / 0.7041 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005013/0.5557, allocations: 4.257 MB / 0.7082 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.556, allocations: 7.938 kB / 0.7082 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.5563, allocations: 95.28 kB / 0.7083 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000982/0.5573, allocations: 378.2 kB / 0.7087 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.5586, allocations: 0.5282 MB / 0.7092 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.5593, allocations: 0.6898 MB / 0.7099 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.5596, allocations: 161.2 kB / 0.71 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007616/0.5604, allocations: 366.5 kB / 0.7104 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004903/0.5609, allocations: 267 kB / 0.7106 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.5609, allocations: 12 kB / 0.7106 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.562, allocations: 0.5183 MB / 0.7111 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.5621, allocations: 83.77 kB / 0.7112 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.5622, allocations: 69.58 kB / 0.7113 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.5627, allocations: 407.1 kB / 0.7117 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5627, allocations: 0 / 0.7117 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5627, allocations: 0 / 0.7117 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5627, allocations: 4 kB / 0.7117 GB, free: 11.27 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007861/0.5635, allocations: 0.5574 MB / 0.7122 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.5636, allocations: 11.97 kB / 0.7122 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.5642, allocations: 75.64 kB / 0.7123 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.5646, allocations: 275.5 kB / 0.7126 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.5646, allocations: 18.12 kB / 0.7126 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.5646, allocations: 20 kB / 0.7126 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.5651, allocations: 288.1 kB / 0.7129 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5652, allocations: 7.938 kB / 0.7129 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.5652, allocations: 12 kB / 0.7129 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.5652, allocations: 7.938 kB / 0.7129 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.5656, allocations: 215.5 kB / 0.7131 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.5672, allocations: 1.249 MB / 0.7143 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.5675, allocations: 181 kB / 0.7145 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5677, allocations: 116.2 kB / 0.7146 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.5684, allocations: 347.3 kB / 0.715 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5684, allocations: 42.55 kB / 0.715 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.5684, allocations: 0 / 0.715 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0007554/0.5692, allocations: 297.5 kB / 0.7153 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.5693, allocations: 158.2 kB / 0.7154 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.5696, allocations: 287 kB / 0.7157 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.5696, allocations: 25.7 kB / 0.7157 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.5697, allocations: 151.8 kB / 0.7159 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.5698, allocations: 43.36 kB / 0.7159 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.5698, allocations: 4 kB / 0.7159 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5699, allocations: 334.8 kB / 0.7162 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.5701, allocations: 71.94 kB / 0.7163 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.5703, allocations: 156.5 kB / 0.7165 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.5705, allocations: 83.95 kB / 0.7165 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5705, allocations: 0 / 0.7165 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005164/0.571, allocations: 257.2 kB / 0.7168 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5711, allocations: 4 kB / 0.7168 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5711, allocations: 4.375 kB / 0.7168 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5711, allocations: 7.938 kB / 0.7168 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.5713, allocations: 39.98 kB / 0.7168 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.5713, allocations: 3.984 kB / 0.7168 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.5715, allocations: 47.77 kB / 0.7169 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.5716, allocations: 15.98 kB / 0.7169 GB, free: 5.512 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001312/0.5717, allocations: 145.8 kB / 0.717 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5719, allocations: 27.72 kB / 0.7171 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.5723, allocations: 194.6 kB / 0.7172 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5724, allocations: 4 kB / 0.7172 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.5724, allocations: 8.062 kB / 0.7173 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5724, allocations: 3.938 kB / 0.7173 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009716/0.5734, allocations: 0.8666 MB / 0.7181 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5734, allocations: 4 kB / 0.7181 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.5735, allocations: 23.98 kB / 0.7181 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5735, allocations: 0 / 0.7181 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5735, allocations: 11.95 kB / 0.7181 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5735, allocations: 0 / 0.7181 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5735, allocations: 4.156 kB / 0.7181 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.5741, allocations: 359.3 kB / 0.7185 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5742, allocations: 120.7 kB / 0.7186 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.5743, allocations: 8 kB / 0.7186 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.5745, allocations: 20 kB / 0.7186 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.5745, allocations: 7.984 kB / 0.7186 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5745, allocations: 4 kB / 0.7186 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002391/0.5748, allocations: 233.9 kB / 0.7189 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5748, allocations: 0 / 0.7189 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004486/0.5752, allocations: 99.92 kB / 0.719 GB, free: 3.242 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0004234/0.5757, allocations: 199.8 kB / 0.7192 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.5761, allocations: 164.1 kB / 0.7193 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5761, allocations: 0 / 0.7193 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.5762, allocations: 59.91 kB / 0.7194 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.577, allocations: 131.9 kB / 0.7195 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.5778, allocations: 0.5719 MB / 0.7201 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.5781, allocations: 0.7599 MB / 0.7208 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.5783, allocations: 62.92 kB / 0.7209 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.5784, allocations: 31.38 kB / 0.7209 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.5784, allocations: 0 / 0.7209 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of Templates: time 0.00975/0.5881, allocations: 5.283 MB / 0.726 GB, free: 12.01 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)