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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7592/0.7592, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 185.9 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009512/0.0009511, allocations: 90.34 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001869/0.001869, allocations: 259.1 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005657/0.0005661, allocations: 27.98 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5067, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.49/5.997, allocations: 2.032 GB / 2.771 GB, free: 179.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/5.997, allocations: 95.8 kB / 2.771 GB, free: 179.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9252/6.923, allocations: 222.4 MB / 2.988 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.775e-06/6.923, allocations: 0 / 2.988 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.269e-05/6.923, allocations: 3.812 kB / 2.988 GB, free: 188.2 MB / 0.6667 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.001871/6.925, allocations: 0.6405 MB / 2.989 GB, free: 187.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/6.925, allocations: 7.344 kB / 2.989 GB, free: 187.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/6.925, allocations: 78.66 kB / 2.989 GB, free: 187.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/6.926, allocations: 297 kB / 2.989 GB, free: 187.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/6.926, allocations: 14.72 kB / 2.989 GB, free: 187.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/6.926, allocations: 31.8 kB / 2.989 GB, free: 187.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/6.927, allocations: 278.7 kB / 2.99 GB, free: 187.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/6.927, allocations: 5.438 kB / 2.99 GB, free: 187.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/6.927, allocations: 7.75 kB / 2.99 GB, free: 187.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/6.927, allocations: 7.312 kB / 2.99 GB, free: 187.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/6.927, allocations: 204 kB / 2.99 GB, free: 187.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/6.929, allocations: 1.23 MB / 2.991 GB, free: 186.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/6.929, allocations: 179.2 kB / 2.991 GB, free: 186.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/6.93, allocations: 114.6 kB / 2.991 GB, free: 186.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/6.93, allocations: 331.3 kB / 2.992 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/6.93, allocations: 40.84 kB / 2.992 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/6.93, allocations: 0 / 2.992 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13): time 0.0007702/6.931, allocations: 282 kB / 2.992 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/6.931, allocations: 154.2 kB / 2.992 GB, free: 185.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/6.931, allocations: 292 kB / 2.992 GB, free: 185.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/6.931, allocations: 29.08 kB / 2.992 GB, free: 185.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/6.932, allocations: 146.3 kB / 2.993 GB, free: 185.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/6.932, allocations: 47.42 kB / 2.993 GB, free: 185.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/6.932, allocations: 6.672 kB / 2.993 GB, free: 185.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/6.932, allocations: 333.9 kB / 2.993 GB, free: 185.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/6.932, allocations: 77.83 kB / 2.993 GB, free: 185.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/6.932, allocations: 152.5 kB / 2.993 GB, free: 185.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/6.932, allocations: 217 kB / 2.993 GB, free: 185.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/6.933, allocations: 0 / 2.993 GB, free: 185.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005724/6.933, allocations: 249.9 kB / 2.994 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/6.933, allocations: 6.906 kB / 2.994 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/6.933, allocations: 6.156 kB / 2.994 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/6.933, allocations: 6.344 kB / 2.994 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/6.933, allocations: 35.02 kB / 2.994 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/6.933, allocations: 14.12 kB / 2.994 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/6.934, allocations: 33.84 kB / 2.994 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/6.934, allocations: 10.78 kB / 2.994 GB, free: 185.1 MB / 0.6667 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.0001584/6.934, allocations: 145.3 kB / 2.994 GB, free: 185 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/6.934, allocations: 28.58 kB / 2.994 GB, free: 185 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/6.935, allocations: 193.6 kB / 2.994 GB, free: 184.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/6.935, allocations: 3.406 kB / 2.994 GB, free: 184.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/6.935, allocations: 3.938 kB / 2.994 GB, free: 184.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/6.935, allocations: 6 kB / 2.994 GB, free: 184.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009686/6.936, allocations: 0.8593 MB / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/6.936, allocations: 0 / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/6.936, allocations: 23.34 kB / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/6.936, allocations: 3.531 kB / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/6.936, allocations: 7.125 kB / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/6.936, allocations: 0 / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/6.936, allocations: 9.781 kB / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/6.936, allocations: 341.8 kB / 2.995 GB, free: 184.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/6.936, allocations: 121.3 kB / 2.995 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/6.936, allocations: 3.75 kB / 2.995 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/6.937, allocations: 22.66 kB / 2.995 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/6.937, allocations: 8.578 kB / 2.995 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/6.937, allocations: 6.938 kB / 2.995 GB, free: 184 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002357/6.937, allocations: 232.7 kB / 2.996 GB, free: 183.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/6.937, allocations: 0 / 2.996 GB, free: 183.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001025/6.938, allocations: 183.2 kB / 2.996 GB, free: 183.9 MB / 0.6667 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.00231/6.94, allocations: 1.039 MB / 2.997 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004132/6.941, allocations: 158.6 kB / 2.997 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.941, allocations: 0 / 2.997 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/6.941, allocations: 65.33 kB / 2.997 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008597/6.942, allocations: 128 kB / 2.997 GB, free: 183.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/6.943, allocations: 0.5735 MB / 2.998 GB, free: 183.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/6.943, allocations: 0.7575 MB / 2.998 GB, free: 182.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002563/6.943, allocations: 54.94 kB / 2.998 GB, free: 182.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/6.944, allocations: 30.27 kB / 2.998 GB, free: 182.6 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/6.944, allocations: 0 / 2.998 GB, free: 182.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.03002/6.974, allocations: 17.36 MB / 3.015 GB, free: 180.6 MB / 0.6667 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)