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.568/0.568, allocations: 94.78 MB / 102.3 MB, free: 10.12 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.001085/0.001084, allocations: 181 kB / 125.6 MB, free: 11.87 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.667/1.667, allocations: 170.6 MB / 319.4 MB, free: 9.312 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.001791/0.001791, allocations: 118.7 kB / 381.3 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.923e-05, allocations: 7.984 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1867, allocations: 61.53 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.501, allocations: 371.6 MB / 0.8616 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/1.501, allocations: 86.78 kB / 0.8617 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6816/2.183, allocations: 91.52 MB / 0.951 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.525e-06/2.183, allocations: 0 / 0.951 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.018e-05/2.183, allocations: 9.656 kB / 0.951 GB, free: 155.8 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.001598/2.184, allocations: 0.59 MB / 0.9516 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/2.185, allocations: 8.688 kB / 0.9516 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/2.185, allocations: 50.52 kB / 0.9517 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/2.186, allocations: 328.9 kB / 0.952 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/2.186, allocations: 7.312 kB / 0.952 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/2.186, allocations: 13.12 kB / 0.952 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004236/2.186, allocations: 164 kB / 0.9522 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/2.187, allocations: 260 kB / 0.9524 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/2.187, allocations: 2.062 kB / 0.9524 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/2.187, allocations: 4.969 kB / 0.9524 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/2.187, allocations: 5.562 kB / 0.9524 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/2.19, allocations: 1.757 MB / 0.9541 GB, free: 153 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/2.19, allocations: 96.72 kB / 0.9542 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/2.19, allocations: 43.02 kB / 0.9543 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/2.191, allocations: 278.1 kB / 0.9545 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/2.191, allocations: 49.22 kB / 0.9546 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 3.055e-06/2.191, allocations: 0 / 0.9546 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0006089/2.191, allocations: 136.9 kB / 0.9547 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/2.192, allocations: 108.2 kB / 0.9548 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/2.192, allocations: 227.8 kB / 0.955 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/2.192, allocations: 26.8 kB / 0.9551 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/2.192, allocations: 209.9 kB / 0.9553 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/2.192, allocations: 49.86 kB / 0.9553 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/2.192, allocations: 0 / 0.9553 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001214/2.192, allocations: 333.2 kB / 0.9556 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/2.192, allocations: 39.53 kB / 0.9557 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/2.193, allocations: 153.6 kB / 0.9558 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/2.193, allocations: 124.4 kB / 0.9559 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/2.193, allocations: 1.062 kB / 0.9559 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007977/2.194, allocations: 264 kB / 0.9562 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/2.194, allocations: 6.094 kB / 0.9562 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/2.194, allocations: 4.312 kB / 0.9562 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/2.194, allocations: 8.953 kB / 0.9562 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/2.195, allocations: 85.97 kB / 0.9563 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/2.195, allocations: 7.625 kB / 0.9563 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/2.195, allocations: 34.11 kB / 0.9563 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/2.195, allocations: 14.62 kB / 0.9563 GB, free: 151.1 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 () * 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.0001146/2.195, allocations: 111.5 kB / 0.9564 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/2.195, allocations: 25.44 kB / 0.9565 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/2.196, allocations: 162.8 kB / 0.9566 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/2.196, allocations: 5.047 kB / 0.9566 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/2.196, allocations: 4.969 kB / 0.9566 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/2.196, allocations: 0 / 0.9566 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/2.196, allocations: 268.7 kB / 0.9569 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/2.196, allocations: 5.047 kB / 0.9569 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/2.196, allocations: 50.25 kB / 0.9569 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/2.197, allocations: 7.938 kB / 0.9569 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/2.197, allocations: 5.281 kB / 0.957 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/2.197, allocations: 5.219 kB / 0.957 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/2.197, allocations: 3.984 kB / 0.957 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/2.197, allocations: 284.4 kB / 0.9572 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/2.197, allocations: 103.8 kB / 0.9573 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/2.197, allocations: 1.094 kB / 0.9573 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/2.198, allocations: 21.36 kB / 0.9574 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/2.198, allocations: 9.578 kB / 0.9574 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/2.198, allocations: 12.11 kB / 0.9574 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000192/2.198, allocations: 169.6 kB / 0.9575 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/2.198, allocations: 0 / 0.9575 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009703/2.199, allocations: 132.2 kB / 0.9577 GB, free: 150.1 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 () * 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.0008899/2.2, allocations: 296.2 kB / 0.9579 GB, free: 150 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003453/2.2, allocations: 117.4 kB / 0.9581 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/2.2, allocations: 0 / 0.9581 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/2.2, allocations: 42.66 kB / 0.9581 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/2.201, allocations: 109 kB / 0.9582 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008947/2.202, allocations: 354 kB / 0.9585 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/2.202, allocations: 0.7806 MB / 0.9593 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003486/2.203, allocations: 66.03 kB / 0.9594 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/2.203, allocations: 37.77 kB / 0.9594 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of SimCode: time 3.4e-07/2.203, allocations: 0 / 0.9594 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.01137/2.214, allocations: 5.316 MB / 0.9646 GB, free: 146.2 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)