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.001292/0.001292, allocations: 107.4 kB / 17.02 MB, free: 5.66 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.001256/0.001256, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6964/0.6964, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3594, allocations: 76.14 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.173/0.5325, allocations: 163.2 MB / 0.717 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005165/0.5377, allocations: 4.572 MB / 0.7214 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.538, allocations: 15.88 kB / 0.7214 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.5384, allocations: 119.1 kB / 0.7215 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.5396, allocations: 0.5445 MB / 0.7221 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.5411, allocations: 0.77 MB / 0.7228 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.5417, allocations: 0.5729 MB / 0.7234 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.542, allocations: 217 kB / 0.7236 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.5429, allocations: 462.2 kB / 0.724 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.5433, allocations: 290.9 kB / 0.7243 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.5434, allocations: 20 kB / 0.7243 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.5448, allocations: 1.009 MB / 0.7253 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.5449, allocations: 91.66 kB / 0.7254 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.545, allocations: 119.4 kB / 0.7255 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008559/0.5459, allocations: 0.713 MB / 0.7262 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5459, allocations: 0 / 0.7262 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5459, allocations: 0 / 0.7262 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5459, allocations: 3.938 kB / 0.7262 GB, free: 7.258 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.0008498/0.5468, allocations: 0.5997 MB / 0.7268 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5468, allocations: 12.03 kB / 0.7268 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.5474, allocations: 75.58 kB / 0.7269 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.5478, allocations: 303.3 kB / 0.7272 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.5479, allocations: 13.08 kB / 0.7272 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.5479, allocations: 23.98 kB / 0.7272 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.5484, allocations: 280.7 kB / 0.7275 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5484, allocations: 4 kB / 0.7275 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.5484, allocations: 15.94 kB / 0.7275 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5484, allocations: 7.938 kB / 0.7275 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.5488, allocations: 211.5 kB / 0.7277 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.5503, allocations: 1.23 MB / 0.7289 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.5506, allocations: 173 kB / 0.7291 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.5508, allocations: 120.2 kB / 0.7292 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006874/0.5515, allocations: 331.2 kB / 0.7295 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.5515, allocations: 42.69 kB / 0.7295 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.5515, allocations: 3.938 kB / 0.7296 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006953/0.5522, allocations: 273.6 kB / 0.7298 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.5523, allocations: 166.2 kB / 0.73 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.5526, allocations: 283 kB / 0.7302 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.5526, allocations: 29.7 kB / 0.7303 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5527, allocations: 143.9 kB / 0.7304 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.5528, allocations: 51.3 kB / 0.7305 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.5528, allocations: 41.61 kB / 0.7305 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.553, allocations: 342.8 kB / 0.7308 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.5531, allocations: 67.94 kB / 0.7309 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.5533, allocations: 140.5 kB / 0.731 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.5537, allocations: 211.6 kB / 0.7312 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5537, allocations: 3.938 kB / 0.7312 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004842/0.5542, allocations: 249.1 kB / 0.7315 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5542, allocations: 4 kB / 0.7315 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5542, allocations: 4.25 kB / 0.7315 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5542, allocations: 4 kB / 0.7315 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.5544, allocations: 39.98 kB / 0.7315 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5544, allocations: 3.938 kB / 0.7315 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.5546, allocations: 27.73 kB / 0.7315 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.5547, allocations: 19.92 kB / 0.7316 GB, free: 1.328 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.0001278/0.5548, allocations: 142.5 kB / 0.7317 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5549, allocations: 27.72 kB / 0.7317 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.5554, allocations: 191.6 kB / 0.7319 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5554, allocations: 8 kB / 0.7319 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5554, allocations: 3.938 kB / 0.7319 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5554, allocations: 0 / 0.7319 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.5563, allocations: 0.8512 MB / 0.7328 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5563, allocations: 4 kB / 0.7328 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5564, allocations: 19.98 kB / 0.7328 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.5565, allocations: 7.938 kB / 0.7328 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5565, allocations: 8 kB / 0.7328 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5565, allocations: 0 / 0.7328 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5565, allocations: 4.078 kB / 0.7328 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.557, allocations: 343.4 kB / 0.7331 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.5571, allocations: 116.7 kB / 0.7332 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.5571, allocations: 4 kB / 0.7332 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.5573, allocations: 16.05 kB / 0.7333 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.5573, allocations: 11.98 kB / 0.7333 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.5574, allocations: 4 kB / 0.7333 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002122/0.5576, allocations: 233.9 kB / 0.7335 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5576, allocations: 0 / 0.7335 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004346/0.558, allocations: 95.98 kB / 0.7336 GB, free: 15.11 MB / 0.5762 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.0004656/0.5585, allocations: 222.3 kB / 0.7338 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.5589, allocations: 152.1 kB / 0.7339 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5589, allocations: 0 / 0.7339 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.559, allocations: 59.91 kB / 0.734 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.5597, allocations: 134.8 kB / 0.7341 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.5605, allocations: 0.4957 MB / 0.7346 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.5608, allocations: 0.7635 MB / 0.7354 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.561, allocations: 74.95 kB / 0.7354 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.5611, allocations: 27.42 kB / 0.7355 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5611, allocations: 0 / 0.7355 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of Templates: time 0.009492/0.5706, allocations: 5.799 MB / 0.7411 GB, free: 7.41 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)