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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8133/0.8133, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 179.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008599/0.0008599, allocations: 99.14 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 267.7 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.754e-05/5.756e-05, allocations: 8 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.452, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.259/4.711, allocations: 1.827 GB / 2.591 GB, free: 179.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/4.711, allocations: 88.89 kB / 2.592 GB, free: 179.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8552/5.566, allocations: 224.7 MB / 2.811 GB, free: 202.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/5.566, allocations: 0 / 2.811 GB, free: 202.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.218e-05/5.566, allocations: 9.938 kB / 2.811 GB, free: 202.4 MB / 0.698 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.0009864/5.567, allocations: 0.6104 MB / 2.812 GB, free: 202 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/5.567, allocations: 13.73 kB / 2.812 GB, free: 202 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/5.568, allocations: 79.03 kB / 2.812 GB, free: 202 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/5.568, allocations: 284.9 kB / 2.812 GB, free: 201.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/5.568, allocations: 18.22 kB / 2.812 GB, free: 201.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/5.568, allocations: 19.03 kB / 2.812 GB, free: 201.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/5.569, allocations: 265.8 kB / 2.812 GB, free: 201.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/5.569, allocations: 2.344 kB / 2.812 GB, free: 201.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/5.569, allocations: 3.938 kB / 2.812 GB, free: 201.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/5.569, allocations: 5.281 kB / 2.812 GB, free: 201.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/5.569, allocations: 164.5 kB / 2.812 GB, free: 201.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/5.57, allocations: 1.236 MB / 2.814 GB, free: 200.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/5.57, allocations: 155.4 kB / 2.814 GB, free: 200.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/5.571, allocations: 101.8 kB / 2.814 GB, free: 200.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/5.571, allocations: 319.9 kB / 2.814 GB, free: 200.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/5.571, allocations: 49.14 kB / 2.814 GB, free: 200.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/5.571, allocations: 3.891 kB / 2.814 GB, free: 200.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0004222/5.572, allocations: 192.4 kB / 2.814 GB, free: 200.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/5.572, allocations: 157.6 kB / 2.815 GB, free: 200.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/5.572, allocations: 246.7 kB / 2.815 GB, free: 200 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/5.572, allocations: 32.45 kB / 2.815 GB, free: 200 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/5.572, allocations: 149.6 kB / 2.815 GB, free: 199.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/5.572, allocations: 44.08 kB / 2.815 GB, free: 199.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/5.572, allocations: 9.781 kB / 2.815 GB, free: 199.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/5.572, allocations: 332 kB / 2.815 GB, free: 199.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/5.572, allocations: 53.72 kB / 2.815 GB, free: 199.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/5.572, allocations: 138.5 kB / 2.816 GB, free: 199.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/5.573, allocations: 71.61 kB / 2.816 GB, free: 199.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/5.573, allocations: 0 / 2.816 GB, free: 199.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003759/5.573, allocations: 206.6 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/5.573, allocations: 9.281 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/5.573, allocations: 7.891 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/5.573, allocations: 0 / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/5.573, allocations: 48.8 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/5.573, allocations: 3.906 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/5.573, allocations: 41.7 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/5.574, allocations: 14.97 kB / 2.816 GB, free: 199.4 MB / 0.698 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 () * 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.0001014/5.574, allocations: 116.9 kB / 2.816 GB, free: 199.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/5.574, allocations: 23.19 kB / 2.816 GB, free: 199.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/5.574, allocations: 161.8 kB / 2.816 GB, free: 199.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/5.574, allocations: 7.859 kB / 2.816 GB, free: 199.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/5.574, allocations: 0 / 2.816 GB, free: 199.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/5.574, allocations: 3.969 kB / 2.816 GB, free: 199.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/5.575, allocations: 0.8123 MB / 2.817 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/5.575, allocations: 2.656 kB / 2.817 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/5.575, allocations: 25.91 kB / 2.817 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/5.575, allocations: 3.812 kB / 2.817 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/5.575, allocations: 6.375 kB / 2.817 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/5.575, allocations: 3.406 kB / 2.817 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/5.575, allocations: 10.66 kB / 2.817 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/5.575, allocations: 347 kB / 2.817 GB, free: 198.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/5.576, allocations: 125.5 kB / 2.817 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/5.576, allocations: 10.27 kB / 2.817 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/5.576, allocations: 12.11 kB / 2.818 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/5.576, allocations: 16.98 kB / 2.818 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/5.576, allocations: 3.938 kB / 2.818 GB, free: 198.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002045/5.576, allocations: 229 kB / 2.818 GB, free: 198.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.576, allocations: 0 / 2.818 GB, free: 198.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008999/5.577, allocations: 184.1 kB / 2.818 GB, free: 198.1 MB / 0.698 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 () * 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.001661/5.579, allocations: 1.043 MB / 2.819 GB, free: 197.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000246/5.579, allocations: 116.6 kB / 2.819 GB, free: 197.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/5.579, allocations: 0 / 2.819 GB, free: 197.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/5.579, allocations: 43.31 kB / 2.819 GB, free: 197.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/5.58, allocations: 125.6 kB / 2.819 GB, free: 197.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/5.58, allocations: 368.4 kB / 2.82 GB, free: 197.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/5.581, allocations: 0.7594 MB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001917/5.581, allocations: 69.53 kB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/5.581, allocations: 23.66 kB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/5.581, allocations: 3.656 kB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of Templates: time 0.02455/5.605, allocations: 19.99 MB / 2.84 GB, free: 196 MB / 0.698 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)