Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 107.8 kB / 16.52 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 195.2 kB / 17.44 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 241.1 MB, free: 13.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7115/0.7115, allocations: 115.3 MB / 406.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 493.6 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3835, allocations: 76.17 MB / 0.5564 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1773/0.5609, allocations: 161 MB / 0.7136 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.5663, allocations: 4.638 MB / 0.7181 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.5667, allocations: 7.938 kB / 0.7181 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.5672, allocations: 103.4 kB / 0.7182 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.5684, allocations: 0.5019 MB / 0.7187 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.5701, allocations: 0.7089 MB / 0.7194 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.5709, allocations: 0.8069 MB / 0.7202 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.5712, allocations: 181.5 kB / 0.7204 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/0.5721, allocations: 426.4 kB / 0.7208 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.5727, allocations: 298.9 kB / 0.721 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.5727, allocations: 12 kB / 0.7211 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.5745, allocations: 1.161 MB / 0.7222 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.5746, allocations: 87.72 kB / 0.7223 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.5748, allocations: 119.4 kB / 0.7224 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.5755, allocations: 0.495 MB / 0.7229 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5755, allocations: 0 / 0.7229 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5755, allocations: 0 / 0.7229 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.5755, allocations: 7.938 kB / 0.7229 GB, free: 9.703 MB / 0.5606 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.0009334/0.5764, allocations: 0.5958 MB / 0.7235 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5765, allocations: 15.97 kB / 0.7235 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/0.5771, allocations: 67.59 kB / 0.7235 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.5775, allocations: 291.2 kB / 0.7238 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.5775, allocations: 17.08 kB / 0.7238 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.5776, allocations: 20 kB / 0.7239 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.578, allocations: 291.4 kB / 0.7241 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.578, allocations: 0 / 0.7241 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5781, allocations: 4 kB / 0.7241 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.5781, allocations: 11.94 kB / 0.7241 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.5785, allocations: 211.5 kB / 0.7243 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.58, allocations: 1.245 MB / 0.7256 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.5802, allocations: 169 kB / 0.7257 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.5804, allocations: 124.3 kB / 0.7258 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/0.5812, allocations: 327.2 kB / 0.7262 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5812, allocations: 38.56 kB / 0.7262 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.5812, allocations: 0 / 0.7262 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007408/0.582, allocations: 277.4 kB / 0.7265 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.5821, allocations: 158.2 kB / 0.7266 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.5823, allocations: 287 kB / 0.7269 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.5823, allocations: 29.7 kB / 0.7269 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.5825, allocations: 143.9 kB / 0.727 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.5825, allocations: 47.23 kB / 0.7271 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.5826, allocations: 53.73 kB / 0.7271 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5827, allocations: 338.8 kB / 0.7275 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.5829, allocations: 67.94 kB / 0.7275 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.5831, allocations: 146.5 kB / 0.7277 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.5834, allocations: 219.4 kB / 0.7279 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5835, allocations: 0 / 0.7279 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004936/0.584, allocations: 241.7 kB / 0.7281 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.584, allocations: 12.03 kB / 0.7281 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.584, allocations: 0 / 0.7281 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.584, allocations: 4 kB / 0.7281 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.5842, allocations: 39.86 kB / 0.7282 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.5842, allocations: 4 kB / 0.7282 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.5844, allocations: 35.73 kB / 0.7282 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5845, allocations: 19.92 kB / 0.7282 GB, free: 3.773 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.5846, allocations: 149.8 kB / 0.7284 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5847, allocations: 23.72 kB / 0.7284 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.5852, allocations: 187.4 kB / 0.7286 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5852, allocations: 4 kB / 0.7286 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5852, allocations: 0 / 0.7286 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5852, allocations: 0 / 0.7286 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.5861, allocations: 0.8549 MB / 0.7294 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5861, allocations: 0 / 0.7294 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5862, allocations: 23.92 kB / 0.7294 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5863, allocations: 7.938 kB / 0.7294 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.5863, allocations: 8 kB / 0.7294 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5863, allocations: 0 / 0.7294 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5863, allocations: 4 kB / 0.7294 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.5868, allocations: 343.4 kB / 0.7298 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.5869, allocations: 116.7 kB / 0.7299 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.587, allocations: 7.984 kB / 0.7299 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5871, allocations: 8 kB / 0.7299 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.5872, allocations: 11.92 kB / 0.7299 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.5872, allocations: 8 kB / 0.7299 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002155/0.5874, allocations: 233.9 kB / 0.7301 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5874, allocations: 64 / 0.7301 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004706/0.5879, allocations: 99.98 kB / 0.7302 GB, free: 1.555 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005122/0.5884, allocations: 214.5 kB / 0.7304 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.5888, allocations: 151.8 kB / 0.7306 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5888, allocations: 0 / 0.7306 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.589, allocations: 55.91 kB / 0.7306 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.5898, allocations: 146.3 kB / 0.7308 GB, free: 1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008161/0.5906, allocations: 0.5773 MB / 0.7313 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.591, allocations: 0.7638 MB / 0.7321 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.5911, allocations: 23.44 kB / 0.7321 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.5911, allocations: 0 / 0.7321 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of Templates: time 0.007904/0.599, allocations: 5.226 MB / 0.7372 GB, free: 10.39 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)