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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4632/0.4632, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 105.6 kB / 420 MB, free: 8.512 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 63.89 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3944, allocations: 70.05 MB / 0.5575 GB, free: 44.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5154/0.9099, allocations: 161 MB / 0.7147 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005084/0.915, allocations: 4.629 MB / 0.7192 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.9154, allocations: 10.09 kB / 0.7192 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.9158, allocations: 94.3 kB / 0.7193 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.917, allocations: 0.5138 MB / 0.7198 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.9186, allocations: 0.7084 MB / 0.7205 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0007902/0.9194, allocations: 0.8132 MB / 0.7213 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.9197, allocations: 184.4 kB / 0.7215 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.9205, allocations: 434.7 kB / 0.7219 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.921, allocations: 301.4 kB / 0.7222 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.9211, allocations: 10.16 kB / 0.7222 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.9226, allocations: 1.163 MB / 0.7233 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.118e-05/0.9227, allocations: 85.38 kB / 0.7234 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.9228, allocations: 119.1 kB / 0.7235 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009591/0.9238, allocations: 0.7701 MB / 0.7243 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.9238, allocations: 0 / 0.7243 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9238, allocations: 0 / 0.7243 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9238, allocations: 2.938 kB / 0.7243 GB, free: 1.488 MB / 0.5105 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.0009868/0.9248, allocations: 0.5965 MB / 0.7248 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.9249, allocations: 8.125 kB / 0.7249 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.9255, allocations: 77.27 kB / 0.7249 GB, free: 17.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.9259, allocations: 287.4 kB / 0.7252 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.9259, allocations: 17.75 kB / 0.7252 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.926, allocations: 20.08 kB / 0.7252 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.9264, allocations: 288.5 kB / 0.7255 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.9264, allocations: 0 / 0.7255 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.9265, allocations: 9.031 kB / 0.7255 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.9265, allocations: 4.688 kB / 0.7255 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.9269, allocations: 207.9 kB / 0.7257 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.9285, allocations: 1.239 MB / 0.7269 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.9288, allocations: 180.6 kB / 0.7271 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.9289, allocations: 111 kB / 0.7272 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000697/0.9296, allocations: 340.3 kB / 0.7275 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.9297, allocations: 40.38 kB / 0.7276 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.9297, allocations: 0 / 0.7276 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0007148/0.9304, allocations: 273.6 kB / 0.7278 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.9305, allocations: 164.8 kB / 0.728 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.9308, allocations: 286.6 kB / 0.7283 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.9308, allocations: 31.67 kB / 0.7283 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.9309, allocations: 147.5 kB / 0.7284 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.931, allocations: 43.77 kB / 0.7285 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.931, allocations: 40.02 kB / 0.7285 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.9312, allocations: 338.1 kB / 0.7288 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.9313, allocations: 68.69 kB / 0.7289 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.9315, allocations: 146.7 kB / 0.729 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.9318, allocations: 212.7 kB / 0.7292 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9319, allocations: 2.406 kB / 0.7292 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005149/0.9324, allocations: 248.8 kB / 0.7295 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9324, allocations: 5 kB / 0.7295 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9324, allocations: 3.312 kB / 0.7295 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9324, allocations: 7.672 kB / 0.7295 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.9326, allocations: 38.42 kB / 0.7295 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.9326, allocations: 3.672 kB / 0.7295 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.9328, allocations: 37.47 kB / 0.7296 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.9329, allocations: 12.19 kB / 0.7296 GB, free: 14.3 MB / 0.5261 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.0001239/0.933, allocations: 148.6 kB / 0.7297 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.9332, allocations: 29.97 kB / 0.7298 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.9336, allocations: 191.6 kB / 0.7299 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.9336, allocations: 5.547 kB / 0.7299 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.9336, allocations: 3.156 kB / 0.7299 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9336, allocations: 0 / 0.7299 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.9345, allocations: 0.8541 MB / 0.7308 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9345, allocations: 3.938 kB / 0.7308 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.9346, allocations: 25.47 kB / 0.7308 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9347, allocations: 3.312 kB / 0.7308 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.9347, allocations: 6.5 kB / 0.7308 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.9347, allocations: 5.156 kB / 0.7308 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9347, allocations: 0 / 0.7308 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.9387, allocations: 1.9 MB / 0.7327 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.9388, allocations: 113.8 kB / 0.7328 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.9388, allocations: 10.73 kB / 0.7328 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.939, allocations: 12.22 kB / 0.7328 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.939, allocations: 11.78 kB / 0.7328 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.939, allocations: 2.625 kB / 0.7328 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002249/0.9393, allocations: 236.2 kB / 0.7331 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9393, allocations: 4.062 kB / 0.7331 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006062/0.9399, allocations: 122.8 kB / 0.7332 GB, free: 12.16 MB / 0.5261 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.0005857/0.9405, allocations: 215.4 kB / 0.7334 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.941, allocations: 152.8 kB / 0.7335 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.941, allocations: 0.5938 kB / 0.7335 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.9412, allocations: 55.81 kB / 0.7336 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.9421, allocations: 149.1 kB / 0.7337 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.9432, allocations: 0.6884 MB / 0.7344 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.9436, allocations: 0.7586 MB / 0.7351 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.9438, allocations: 67.39 kB / 0.7352 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.9439, allocations: 25.69 kB / 0.7352 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.9439, allocations: 0 / 0.7352 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.01031/0.9542, allocations: 5.703 MB / 0.7408 GB, free: 10.41 MB / 0.5261 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)