Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00722/0.00722, allocations: 104.1 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001226, allocations: 187 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5982/0.5982, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 71.89 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1616, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4896/0.6513, allocations: 142.4 MB / 0.7101 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00369/0.655, allocations: 2.67 MB / 0.7128 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.6555, allocations: 11.47 kB / 0.7128 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.6563, allocations: 154.8 kB / 0.7129 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008448/0.6572, allocations: 280.7 kB / 0.7132 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.6585, allocations: 413.3 kB / 0.7136 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009998/0.6595, allocations: 0.7592 MB / 0.7143 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.6599, allocations: 246.6 kB / 0.7145 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.6605, allocations: 342 kB / 0.7149 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.6608, allocations: 253.6 kB / 0.7151 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.6609, allocations: 31.5 kB / 0.7151 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.6612, allocations: 172.6 kB / 0.7153 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.6614, allocations: 81.06 kB / 0.7154 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.6615, allocations: 173.8 kB / 0.7156 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.6621, allocations: 470.9 kB / 0.716 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6621, allocations: 4 kB / 0.716 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6621, allocations: 0 / 0.716 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6621, allocations: 0 / 0.716 GB, free: 10.04 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009761/0.6631, allocations: 0.6322 MB / 0.7166 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6632, allocations: 11.98 kB / 0.7166 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.6634, allocations: 40.56 kB / 0.7167 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.6639, allocations: 343.4 kB / 0.717 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6639, allocations: 16.94 kB / 0.717 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.6639, allocations: 24.56 kB / 0.717 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.6645, allocations: 302.7 kB / 0.7173 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6645, allocations: 8 kB / 0.7173 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.6645, allocations: 9.219 kB / 0.7173 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6646, allocations: 8 kB / 0.7174 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.665, allocations: 201.6 kB / 0.7175 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.6667, allocations: 1.324 MB / 0.7188 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.667, allocations: 130.6 kB / 0.719 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.6671, allocations: 56.92 kB / 0.719 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/0.6676, allocations: 283.2 kB / 0.7193 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.6676, allocations: 41.88 kB / 0.7193 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.6677, allocations: 0 / 0.7193 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.000532/0.6682, allocations: 212.7 kB / 0.7195 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.6683, allocations: 110.8 kB / 0.7196 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.6686, allocations: 337.7 kB / 0.72 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.6687, allocations: 25.7 kB / 0.72 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.6688, allocations: 203.7 kB / 0.7202 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.6689, allocations: 47.3 kB / 0.7202 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.6689, allocations: 49.61 kB / 0.7203 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6691, allocations: 342.8 kB / 0.7206 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.6692, allocations: 55.89 kB / 0.7207 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.6695, allocations: 161.7 kB / 0.7208 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.6698, allocations: 235.7 kB / 0.721 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6698, allocations: 0 / 0.721 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004459/0.6703, allocations: 253.1 kB / 0.7213 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6703, allocations: 8 kB / 0.7213 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.6703, allocations: 4 kB / 0.7213 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6703, allocations: 7.984 kB / 0.7213 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.6707, allocations: 67.89 kB / 0.7214 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6707, allocations: 7.938 kB / 0.7214 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.6709, allocations: 35.67 kB / 0.7214 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.6709, allocations: 19.94 kB / 0.7214 GB, free: 4.152 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.6711, allocations: 153.9 kB / 0.7216 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.6711, allocations: 31.62 kB / 0.7216 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.6716, allocations: 191.5 kB / 0.7218 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6716, allocations: 0 / 0.7218 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6716, allocations: 0.875 kB / 0.7218 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6716, allocations: 0 / 0.7218 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.672, allocations: 321.3 kB / 0.7221 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.672, allocations: 0 / 0.7221 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.6722, allocations: 43.97 kB / 0.7221 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6722, allocations: 3.938 kB / 0.7221 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.6723, allocations: 5.125 kB / 0.7221 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6723, allocations: 3.984 kB / 0.7221 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6723, allocations: 0 / 0.7221 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.6728, allocations: 331 kB / 0.7225 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.6729, allocations: 108.7 kB / 0.7226 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.6729, allocations: 0 / 0.7226 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.6731, allocations: 15.98 kB / 0.7226 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.6732, allocations: 7.984 kB / 0.7226 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.6732, allocations: 12.05 kB / 0.7226 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002152/0.6734, allocations: 243.2 kB / 0.7228 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6734, allocations: 4.062 kB / 0.7228 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000376/0.6738, allocations: 84 kB / 0.7229 GB, free: 2.531 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senStr.h_out) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004105/0.6742, allocations: 170.1 kB / 0.7231 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.6746, allocations: 159.5 kB / 0.7232 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6747, allocations: 0 / 0.7232 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.6748, allocations: 59.91 kB / 0.7233 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/0.6756, allocations: 179.8 kB / 0.7234 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/0.6766, allocations: 0.5426 MB / 0.724 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.677, allocations: 0.7755 MB / 0.7247 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.6772, allocations: 66.86 kB / 0.7248 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.6773, allocations: 35.42 kB / 0.7248 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.6773, allocations: 3.938 kB / 0.7248 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of Templates: time 0.01177/0.689, allocations: 5.967 MB / 0.7307 GB, free: 10.62 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)