Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001099/0.001099, allocations: 111.8 kB / 16.37 MB, free: 5.539 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.001091/0.001091, allocations: 192.2 kB / 17.3 MB, free: 5.18 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003984/0.003984, allocations: 294.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 94.53 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1716, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4807/0.6524, allocations: 163.2 MB / 0.841 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005348/0.6577, allocations: 4.574 MB / 0.8455 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.6581, allocations: 7.938 kB / 0.8455 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.6586, allocations: 127 kB / 0.8456 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.6598, allocations: 0.5367 MB / 0.8461 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.6615, allocations: 0.7755 MB / 0.8469 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006958/0.6622, allocations: 0.5729 MB / 0.8474 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.6626, allocations: 217.1 kB / 0.8477 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008607/0.6634, allocations: 466.2 kB / 0.8481 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.664, allocations: 285.7 kB / 0.8484 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.664, allocations: 20 kB / 0.8484 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.6656, allocations: 0.9938 MB / 0.8494 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.6657, allocations: 95.7 kB / 0.8494 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.6659, allocations: 123.4 kB / 0.8496 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.6668, allocations: 0.7207 MB / 0.8503 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6668, allocations: 4 kB / 0.8503 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6668, allocations: 0 / 0.8503 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.6668, allocations: 0 / 0.8503 GB, free: 1.75 MB / 0.6075 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.0007888/0.6676, allocations: 0.5886 MB / 0.8508 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.6677, allocations: 12.03 kB / 0.8509 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.6683, allocations: 79.58 kB / 0.8509 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.6687, allocations: 303.2 kB / 0.8512 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.6687, allocations: 12 kB / 0.8512 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.6688, allocations: 20 kB / 0.8513 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.6692, allocations: 287.4 kB / 0.8515 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6692, allocations: 0 / 0.8515 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.6692, allocations: 8 kB / 0.8515 GB, free: 348 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.6693, allocations: 7.938 kB / 0.8515 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.6697, allocations: 212.2 kB / 0.8517 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.6712, allocations: 1.238 MB / 0.853 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.6715, allocations: 169 kB / 0.8531 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.6717, allocations: 120.3 kB / 0.8532 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007269/0.6724, allocations: 331.2 kB / 0.8535 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6725, allocations: 42.56 kB / 0.8536 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.6725, allocations: 0 / 0.8536 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007295/0.6732, allocations: 277.1 kB / 0.8539 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.6733, allocations: 158.7 kB / 0.854 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.6735, allocations: 290.9 kB / 0.8543 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.6736, allocations: 29.7 kB / 0.8543 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.6737, allocations: 151.8 kB / 0.8545 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.6738, allocations: 51.3 kB / 0.8545 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.6738, allocations: 41.7 kB / 0.8545 GB, free: 13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.674, allocations: 334.8 kB / 0.8549 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.6741, allocations: 63.95 kB / 0.8549 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.6743, allocations: 148.5 kB / 0.8551 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.6747, allocations: 211.5 kB / 0.8553 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6747, allocations: 0 / 0.8553 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004944/0.6752, allocations: 245 kB / 0.8555 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6752, allocations: 4 kB / 0.8555 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6752, allocations: 4 kB / 0.8555 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6753, allocations: 0 / 0.8555 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.6755, allocations: 47.91 kB / 0.8556 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6755, allocations: 4.188 kB / 0.8556 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.6757, allocations: 28.7 kB / 0.8556 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.6757, allocations: 12 kB / 0.8556 GB, free: 11.84 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.6759, allocations: 157.7 kB / 0.8557 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.676, allocations: 23.77 kB / 0.8558 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.6765, allocations: 191.7 kB / 0.856 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6765, allocations: 4 kB / 0.856 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6765, allocations: 0 / 0.856 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6765, allocations: 3.984 kB / 0.856 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.6774, allocations: 0.851 MB / 0.8568 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6775, allocations: 384 / 0.8568 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.6776, allocations: 31.91 kB / 0.8568 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6776, allocations: 8.094 kB / 0.8568 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.6776, allocations: 8 kB / 0.8568 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6776, allocations: 3.938 kB / 0.8568 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6776, allocations: 4 kB / 0.8568 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.6782, allocations: 331.4 kB / 0.8572 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6783, allocations: 116.8 kB / 0.8573 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.6784, allocations: 7.938 kB / 0.8573 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.6785, allocations: 7.984 kB / 0.8573 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.6786, allocations: 16 kB / 0.8573 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6786, allocations: 7.984 kB / 0.8573 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002421/0.6789, allocations: 233.9 kB / 0.8575 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6789, allocations: 0 / 0.8575 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005746/0.6795, allocations: 95.91 kB / 0.8576 GB, free: 9.621 MB / 0.6231 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 (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.0006674/0.6801, allocations: 225.7 kB / 0.8578 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.6807, allocations: 147.8 kB / 0.858 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6807, allocations: 0 / 0.858 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.6809, allocations: 68.45 kB / 0.858 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.682, allocations: 144.5 kB / 0.8582 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.6831, allocations: 496.5 kB / 0.8587 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.6834, allocations: 0.7557 MB / 0.8594 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001853/0.6836, allocations: 70.86 kB / 0.8595 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.6837, allocations: 23.44 kB / 0.8595 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6837, allocations: 0 / 0.8595 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of Templates: time 0.01061/0.6943, allocations: 5.811 MB / 0.8652 GB, free: 1.938 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)