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.8473/0.8473, allocations: 143.4 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 165.1 kB / 191.5 MB, free: 5.77 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.483/1.483, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009426/0.0009427, allocations: 88.27 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001838/0.001838, allocations: 271.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 18.59 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1937, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.55/4.744, allocations: 1.827 GB / 2.601 GB, free: 192.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004738/4.744, allocations: 90.72 kB / 2.601 GB, free: 192.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.9577/5.702, allocations: 224.9 MB / 2.821 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.934e-06/5.702, allocations: 0 / 2.821 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.531e-05/5.702, allocations: 8.375 kB / 2.821 GB, free: 201.8 MB / 0.7136 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.001608/5.704, allocations: 0.6382 MB / 2.821 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/5.704, allocations: 17.36 kB / 2.821 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006948/5.704, allocations: 76.52 kB / 2.821 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/5.705, allocations: 296.8 kB / 2.822 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/5.705, allocations: 16.06 kB / 2.822 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/5.705, allocations: 24.38 kB / 2.822 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/5.706, allocations: 277.7 kB / 2.822 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/5.706, allocations: 3.562 kB / 2.822 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/5.706, allocations: 11.53 kB / 2.822 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/5.706, allocations: 8.188 kB / 2.822 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/5.706, allocations: 204.9 kB / 2.822 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/5.708, allocations: 1.227 MB / 2.823 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/5.708, allocations: 181.5 kB / 2.824 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/5.709, allocations: 325.1 kB / 2.824 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/5.709, allocations: 40.94 kB / 2.824 GB, free: 199.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/5.709, allocations: 0 / 2.824 GB, free: 199.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0009305/5.71, allocations: 285.5 kB / 2.824 GB, free: 199.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/5.71, allocations: 160.3 kB / 2.824 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/5.71, allocations: 256.2 kB / 2.825 GB, free: 199.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/5.71, allocations: 31.05 kB / 2.825 GB, free: 199.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/5.71, allocations: 150.2 kB / 2.825 GB, free: 199.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/5.71, allocations: 41.09 kB / 2.825 GB, free: 199.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/5.71, allocations: 7.172 kB / 2.825 GB, free: 199.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/5.711, allocations: 335.2 kB / 2.825 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/5.711, allocations: 71.95 kB / 2.825 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/5.711, allocations: 151.9 kB / 2.825 GB, free: 199 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/5.711, allocations: 96.47 kB / 2.825 GB, free: 199 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/5.711, allocations: 0 / 2.825 GB, free: 199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006635/5.712, allocations: 248.8 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/5.712, allocations: 5.938 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/5.712, allocations: 1.906 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/5.712, allocations: 6.469 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/5.712, allocations: 49.42 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/5.712, allocations: 5.688 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/5.713, allocations: 28.38 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/5.713, allocations: 20.58 kB / 2.826 GB, free: 198.9 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001883/5.713, allocations: 147 kB / 2.826 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/5.713, allocations: 24.88 kB / 2.826 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/5.714, allocations: 197 kB / 2.826 GB, free: 198.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/5.714, allocations: 1.062 kB / 2.826 GB, free: 198.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/5.714, allocations: 6.672 kB / 2.826 GB, free: 198.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/5.714, allocations: 5.156 kB / 2.826 GB, free: 198.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/5.715, allocations: 0.8527 MB / 2.827 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/5.715, allocations: 2 kB / 2.827 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/5.715, allocations: 32.12 kB / 2.827 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/5.715, allocations: 2.891 kB / 2.827 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/5.715, allocations: 5.797 kB / 2.827 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/5.715, allocations: 2.797 kB / 2.827 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/5.715, allocations: 4.938 kB / 2.827 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/5.716, allocations: 407.8 kB / 2.827 GB, free: 197.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/5.716, allocations: 118.2 kB / 2.828 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/5.716, allocations: 1.25 kB / 2.828 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/5.716, allocations: 26.17 kB / 2.828 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/5.716, allocations: 8.297 kB / 2.828 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/5.716, allocations: 4.062 kB / 2.828 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003679/5.717, allocations: 233 kB / 2.828 GB, free: 197.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/5.717, allocations: 0 / 2.828 GB, free: 197.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001344/5.718, allocations: 186.1 kB / 2.828 GB, free: 197.6 MB / 0.7136 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 (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.002384/5.721, allocations: 1.037 MB / 2.829 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005344/5.721, allocations: 149.4 kB / 2.829 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/5.721, allocations: 2.969 kB / 2.829 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/5.721, allocations: 65.44 kB / 2.829 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/5.722, allocations: 119.8 kB / 2.829 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/5.723, allocations: 0.562 MB / 2.83 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/5.724, allocations: 0.7656 MB / 2.831 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002699/5.724, allocations: 63.19 kB / 2.831 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/5.724, allocations: 23.38 kB / 2.831 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/5.724, allocations: 0 / 2.831 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.02616/5.75, allocations: 17.26 MB / 2.848 GB, free: 196 MB / 0.7136 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)