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.001652/0.001652, allocations: 105.6 kB / 15.98 MB, free: 6.344 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.001698/0.001698, allocations: 191.8 kB / 16.9 MB, free: 6.184 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7745/0.7745, allocations: 122.9 MB / 413.6 MB, free: 12 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.4906 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4616, allocations: 77.93 MB / 0.5667 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1811/0.6428, allocations: 161 MB / 0.724 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005811/0.6486, allocations: 4.548 MB / 0.7284 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.6491, allocations: 11.94 kB / 0.7284 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.6497, allocations: 99.36 kB / 0.7285 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.6514, allocations: 0.5058 MB / 0.729 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.6533, allocations: 0.7259 MB / 0.7297 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.6541, allocations: 0.5768 MB / 0.7303 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.6544, allocations: 197.1 kB / 0.7305 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.6555, allocations: 470.3 kB / 0.7309 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.6561, allocations: 291 kB / 0.7312 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.6561, allocations: 24 kB / 0.7312 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.6579, allocations: 1.044 MB / 0.7322 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.658, allocations: 95.72 kB / 0.7323 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.6582, allocations: 123.4 kB / 0.7324 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.6597, allocations: 0.7674 MB / 0.7332 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6597, allocations: 0 / 0.7332 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6598, allocations: 0 / 0.7332 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.6598, allocations: 4 kB / 0.7332 GB, free: 15.96 MB / 0.5762 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.001181/0.661, allocations: 0.5886 MB / 0.7338 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.661, allocations: 12.62 kB / 0.7338 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007683/0.6618, allocations: 83.48 kB / 0.7339 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.6622, allocations: 283.3 kB / 0.7341 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.6623, allocations: 20 kB / 0.7341 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.6623, allocations: 16 kB / 0.7342 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.6629, allocations: 291.4 kB / 0.7344 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6629, allocations: 0 / 0.7344 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.663, allocations: 12 kB / 0.7344 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.663, allocations: 7.938 kB / 0.7345 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.6634, allocations: 211.4 kB / 0.7347 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.6652, allocations: 1.246 MB / 0.7359 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.6655, allocations: 173 kB / 0.736 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.6657, allocations: 108.2 kB / 0.7361 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008038/0.6665, allocations: 331.2 kB / 0.7365 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.6666, allocations: 42.69 kB / 0.7365 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.6666, allocations: 0 / 0.7365 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007729/0.6674, allocations: 277.1 kB / 0.7368 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.6675, allocations: 166.7 kB / 0.7369 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.6678, allocations: 283 kB / 0.7372 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.6678, allocations: 25.7 kB / 0.7372 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.6679, allocations: 151.8 kB / 0.7374 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.668, allocations: 51.28 kB / 0.7374 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.6681, allocations: 41.7 kB / 0.7374 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6682, allocations: 338.8 kB / 0.7378 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.6684, allocations: 75.88 kB / 0.7378 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.6686, allocations: 140.5 kB / 0.738 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.669, allocations: 211.5 kB / 0.7382 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.669, allocations: 4 kB / 0.7382 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005145/0.6696, allocations: 241.1 kB / 0.7384 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6696, allocations: 6.344 kB / 0.7384 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6696, allocations: 4 kB / 0.7384 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6696, allocations: 0 / 0.7384 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.6698, allocations: 48.16 kB / 0.7385 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6698, allocations: 0 / 0.7385 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.67, allocations: 31.73 kB / 0.7385 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.6701, allocations: 15.94 kB / 0.7385 GB, free: 10.04 MB / 0.5762 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.0001411/0.6702, allocations: 145.8 kB / 0.7387 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.6704, allocations: 23.72 kB / 0.7387 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.6709, allocations: 190.2 kB / 0.7389 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.6709, allocations: 7.938 kB / 0.7389 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6709, allocations: 4 kB / 0.7389 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6709, allocations: 0 / 0.7389 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.672, allocations: 0.8511 MB / 0.7397 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.672, allocations: 4.031 kB / 0.7397 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.6721, allocations: 32.05 kB / 0.7397 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6721, allocations: 3.938 kB / 0.7397 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.6721, allocations: 4 kB / 0.7397 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.6721, allocations: 3.984 kB / 0.7397 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6722, allocations: 4 kB / 0.7397 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.6727, allocations: 339.4 kB / 0.7401 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6728, allocations: 116.7 kB / 0.7402 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6729, allocations: 7.938 kB / 0.7402 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6731, allocations: 16.05 kB / 0.7402 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.6731, allocations: 4 kB / 0.7402 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.6731, allocations: 4.094 kB / 0.7402 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002288/0.6734, allocations: 245.8 kB / 0.7404 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6734, allocations: 0 / 0.7404 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004794/0.6738, allocations: 92 kB / 0.7405 GB, free: 7.816 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.0005357/0.6744, allocations: 218.6 kB / 0.7407 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.6748, allocations: 156.1 kB / 0.7409 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6748, allocations: 0 / 0.7409 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.675, allocations: 59.89 kB / 0.741 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.6758, allocations: 141.2 kB / 0.7411 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/0.6766, allocations: 0.5565 MB / 0.7416 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.6769, allocations: 0.7596 MB / 0.7424 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.6772, allocations: 74.8 kB / 0.7424 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.6772, allocations: 23.44 kB / 0.7425 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6772, allocations: 4 kB / 0.7425 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.01089/0.6881, allocations: 5.731 MB / 0.7481 GB, free: 132 kB / 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)