Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5987/0.5987, allocations: 95.61 MB / 110.6 MB, free: 9.375 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001171/0.001171, allocations: 173.3 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.596/1.596, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001736/0.001736, allocations: 123.2 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004418, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1829, allocations: 61.54 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.315, allocations: 372.4 MB / 0.8756 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.315, allocations: 87.95 kB / 0.8757 GB, free: 38.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5165/1.831, allocations: 92.6 MB / 0.9661 GB, free: 172 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.043e-06/1.831, allocations: 0 / 0.9661 GB, free: 172 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.465e-05/1.831, allocations: 11.72 kB / 0.9661 GB, free: 172 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009583/1.832, allocations: 0.6332 MB / 0.9668 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.832, allocations: 11.86 kB / 0.9668 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/1.833, allocations: 42.84 kB / 0.9668 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/1.833, allocations: 334.5 kB / 0.9671 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/1.833, allocations: 16.41 kB / 0.9672 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/1.833, allocations: 27.91 kB / 0.9672 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/1.834, allocations: 317.3 kB / 0.9675 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.834, allocations: 3.875 kB / 0.9675 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/1.834, allocations: 7.812 kB / 0.9675 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.834, allocations: 7.969 kB / 0.9675 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/1.834, allocations: 220.3 kB / 0.9677 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/1.836, allocations: 1.345 MB / 0.969 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/1.836, allocations: 113.8 kB / 0.9691 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/1.836, allocations: 0.6064 MB / 0.9697 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/1.836, allocations: 34.56 kB / 0.9698 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/1.836, allocations: 0 / 0.9698 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0005389/1.837, allocations: 241.8 kB / 0.97 GB, free: 169 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.837, allocations: 110.6 kB / 0.9701 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/1.837, allocations: 304.2 kB / 0.9704 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.837, allocations: 29.7 kB / 0.9704 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/1.837, allocations: 190.4 kB / 0.9706 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/1.838, allocations: 62.59 kB / 0.9707 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/1.838, allocations: 0 / 0.9707 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/1.838, allocations: 342.1 kB / 0.971 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/1.838, allocations: 63.36 kB / 0.971 GB, free: 168 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/1.838, allocations: 184.1 kB / 0.9712 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/1.838, allocations: 90.22 kB / 0.9713 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.838, allocations: 0 / 0.9713 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004472/1.839, allocations: 274.5 kB / 0.9716 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.839, allocations: 7.344 kB / 0.9716 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.839, allocations: 3.625 kB / 0.9716 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.839, allocations: 7.641 kB / 0.9716 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/1.839, allocations: 81.11 kB / 0.9717 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.839, allocations: 15.73 kB / 0.9717 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/1.839, allocations: 39.36 kB / 0.9717 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/1.839, allocations: 15.78 kB / 0.9717 GB, free: 167.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 28 * 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.0001285/1.839, allocations: 153.3 kB / 0.9719 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/1.84, allocations: 31.03 kB / 0.9719 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/1.84, allocations: 279.4 kB / 0.9722 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.84, allocations: 0 / 0.9722 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.84, allocations: 3.953 kB / 0.9722 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.84, allocations: 7.141 kB / 0.9722 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/1.84, allocations: 318.1 kB / 0.9725 GB, free: 167 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.84, allocations: 3.609 kB / 0.9725 GB, free: 167 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/1.841, allocations: 47.78 kB / 0.9725 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/1.841, allocations: 3.906 kB / 0.9725 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.841, allocations: 7.984 kB / 0.9725 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.841, allocations: 0 / 0.9725 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/1.841, allocations: 0 / 0.9725 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/1.841, allocations: 268.2 kB / 0.9728 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/1.841, allocations: 122.1 kB / 0.9729 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/1.841, allocations: 4 kB / 0.9729 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.842, allocations: 17.95 kB / 0.9729 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.842, allocations: 15.64 kB / 0.9729 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/1.842, allocations: 7.594 kB / 0.973 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002349/1.842, allocations: 276.2 kB / 0.9732 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.842, allocations: 0 / 0.9732 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005104/1.842, allocations: 118.7 kB / 0.9733 GB, free: 166.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0006538/1.843, allocations: 297.9 kB / 0.9736 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003942/1.843, allocations: 165.5 kB / 0.9738 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.843, allocations: 0.75 kB / 0.9738 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/1.844, allocations: 68.72 kB / 0.9738 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/1.844, allocations: 171.5 kB / 0.974 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/1.845, allocations: 0.6777 MB / 0.9747 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/1.845, allocations: 0.7822 MB / 0.9754 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002418/1.846, allocations: 69.52 kB / 0.9755 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/1.846, allocations: 42.11 kB / 0.9755 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/1.846, allocations: 0 / 0.9755 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.01169/1.857, allocations: 7.565 MB / 0.9829 GB, free: 161 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)