Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.000914, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009019/0.0009018, allocations: 177 kB / 16.92 MB, free: 6.684 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 17.05 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 77.52 MB / 0.5599 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4861/0.6298, allocations: 163.1 MB / 0.7193 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008083/0.638, allocations: 6.448 MB / 0.7256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.6385, allocations: 15.94 kB / 0.7256 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.6391, allocations: 135.1 kB / 0.7257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.6414, allocations: 0.786 MB / 0.7265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.6423, allocations: 292 kB / 0.7268 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.6436, allocations: 1.01 MB / 0.7277 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.6441, allocations: 226.1 kB / 0.728 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.6455, allocations: 0.5097 MB / 0.7284 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.646, allocations: 282.9 kB / 0.7287 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.6461, allocations: 12 kB / 0.7287 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00081/0.6469, allocations: 391 kB / 0.7291 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.6471, allocations: 99.7 kB / 0.7292 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.6474, allocations: 176.9 kB / 0.7294 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.648, allocations: 466.4 kB / 0.7298 GB, free: 8.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6481, allocations: 0 / 0.7298 GB, free: 8.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6481, allocations: 0 / 0.7298 GB, free: 8.812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6481, allocations: 0 / 0.7298 GB, free: 8.812 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008813/0.649, allocations: 0.5694 MB / 0.7304 GB, free: 8.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.649, allocations: 8.031 kB / 0.7304 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.6494, allocations: 59.58 kB / 0.7304 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.6498, allocations: 317.1 kB / 0.7307 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.6498, allocations: 20.56 kB / 0.7308 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.6499, allocations: 24 kB / 0.7308 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.6505, allocations: 323.7 kB / 0.7311 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6505, allocations: 0 / 0.7311 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.6505, allocations: 8 kB / 0.7311 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.6506, allocations: 8 kB / 0.7311 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.651, allocations: 213.6 kB / 0.7313 GB, free: 7.172 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.6527, allocations: 1.542 MB / 0.7328 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.653, allocations: 130.5 kB / 0.7329 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.6532, allocations: 92.8 kB / 0.733 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/0.6538, allocations: 319.2 kB / 0.7333 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6539, allocations: 38.5 kB / 0.7334 GB, free: 4.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.6539, allocations: 0 / 0.7334 GB, free: 4.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008/0.6547, allocations: 277.3 kB / 0.7336 GB, free: 4.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.6548, allocations: 59.39 kB / 0.7337 GB, free: 4.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.6551, allocations: 308.5 kB / 0.734 GB, free: 4.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.6551, allocations: 29.7 kB / 0.734 GB, free: 4.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.6553, allocations: 199.9 kB / 0.7342 GB, free: 3.957 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.6554, allocations: 39.36 kB / 0.7342 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.6554, allocations: 21.7 kB / 0.7343 GB, free: 3.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6555, allocations: 338.8 kB / 0.7346 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.6557, allocations: 63.95 kB / 0.7346 GB, free: 3.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.6559, allocations: 121 kB / 0.7348 GB, free: 3.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.6563, allocations: 183 kB / 0.7349 GB, free: 3.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6563, allocations: 3.938 kB / 0.7349 GB, free: 3.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004671/0.6568, allocations: 237.7 kB / 0.7352 GB, free: 2.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6568, allocations: 4 kB / 0.7352 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6568, allocations: 4 kB / 0.7352 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6568, allocations: 0 / 0.7352 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.657, allocations: 40.08 kB / 0.7352 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.6571, allocations: 7.984 kB / 0.7352 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.6573, allocations: 40.25 kB / 0.7353 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.6573, allocations: 4 kB / 0.7353 GB, free: 2.816 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001426/0.6575, allocations: 149.8 kB / 0.7354 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.6575, allocations: 31.62 kB / 0.7354 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.6581, allocations: 228.8 kB / 0.7356 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6581, allocations: 4 kB / 0.7357 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6581, allocations: 0 / 0.7357 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.6581, allocations: 0 / 0.7357 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.6592, allocations: 0.6874 MB / 0.7363 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6593, allocations: 0.625 kB / 0.7363 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.6594, allocations: 35.92 kB / 0.7364 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6594, allocations: 4 kB / 0.7364 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.6595, allocations: 4 kB / 0.7364 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.6595, allocations: 11.98 kB / 0.7364 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6595, allocations: 8.219 kB / 0.7364 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.66, allocations: 345 kB / 0.7367 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.6601, allocations: 120.7 kB / 0.7368 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.6602, allocations: 4 kB / 0.7368 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.6604, allocations: 23.92 kB / 0.7369 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.6605, allocations: 19.92 kB / 0.7369 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.6605, allocations: 4 kB / 0.7369 GB, free: 1.012 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002473/0.6607, allocations: 227 kB / 0.7371 GB, free: 0.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6607, allocations: 0 / 0.7371 GB, free: 0.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004056/0.6611, allocations: 67.84 kB / 0.7372 GB, free: 0.7266 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * 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.0005277/0.6617, allocations: 161.4 kB / 0.7373 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.6622, allocations: 171.7 kB / 0.7375 GB, free: 408 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6622, allocations: 0 / 0.7375 GB, free: 408 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.6624, allocations: 96.58 kB / 0.7376 GB, free: 312 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6635, allocations: 141.3 kB / 0.7377 GB, free: 172 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.6648, allocations: 0.6504 MB / 0.7383 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.6653, allocations: 0.7758 MB / 0.7391 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.6655, allocations: 62.92 kB / 0.7392 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.6656, allocations: 19.44 kB / 0.7392 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.392e-06/0.6656, allocations: 4 kB / 0.7392 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.01079/0.6764, allocations: 4.848 MB / 0.7439 GB, free: 9.82 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)