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.0009997/0.0009998, allocations: 92.7 kB / 15.7 MB, free: 472 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.0009458/0.0009458, allocations: 172.7 kB / 16.58 MB, free: 6.848 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.36/1.36, allocations: 223.3 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7037/0.7037, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003441, allocations: 14.41 kB / 495.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 77.53 MB / 0.5593 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4144/0.5535, allocations: 152.2 MB / 0.7079 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007443/0.561, allocations: 6.056 MB / 0.7139 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.5615, allocations: 15.88 kB / 0.7139 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.562, allocations: 119.1 kB / 0.714 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.5638, allocations: 0.5948 MB / 0.7146 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000853/0.5647, allocations: 264 kB / 0.7148 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.5657, allocations: 0.8616 MB / 0.7157 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.5662, allocations: 211.5 kB / 0.7159 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.5673, allocations: 458.1 kB / 0.7163 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.5679, allocations: 267 kB / 0.7166 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.5679, allocations: 15.94 kB / 0.7166 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.5685, allocations: 195.6 kB / 0.7168 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.5686, allocations: 99.69 kB / 0.7168 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.5687, allocations: 85.52 kB / 0.7169 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.5692, allocations: 315.3 kB / 0.7172 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5692, allocations: 0 / 0.7172 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5692, allocations: 0 / 0.7172 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.5692, allocations: 0 / 0.7172 GB, free: 5.66 MB / 0.5294 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.0008543/0.5701, allocations: 0.5617 MB / 0.7178 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5701, allocations: 8.031 kB / 0.7178 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.5704, allocations: 63.53 kB / 0.7178 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.5709, allocations: 309.4 kB / 0.7181 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.5709, allocations: 20.5 kB / 0.7182 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.571, allocations: 28 kB / 0.7182 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.5715, allocations: 319.7 kB / 0.7185 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5715, allocations: 0 / 0.7185 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.5716, allocations: 12 kB / 0.7185 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.5716, allocations: 4 kB / 0.7185 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.572, allocations: 209.5 kB / 0.7187 GB, free: 4.031 MB / 0.5294 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.001625/0.5737, allocations: 1.546 MB / 0.7202 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.574, allocations: 118.5 kB / 0.7203 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.5741, allocations: 100.8 kB / 0.7204 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/0.5748, allocations: 315.2 kB / 0.7207 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.5748, allocations: 30.56 kB / 0.7208 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.5748, allocations: 0 / 0.7208 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0007384/0.5755, allocations: 289.5 kB / 0.721 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.5756, allocations: 55.36 kB / 0.7211 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.5759, allocations: 312.5 kB / 0.7214 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.5759, allocations: 25.7 kB / 0.7214 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.5761, allocations: 187.9 kB / 0.7216 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.5761, allocations: 55.34 kB / 0.7216 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.5762, allocations: 0 / 0.7216 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5763, allocations: 338.8 kB / 0.722 GB, free: 440 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.5764, allocations: 59.95 kB / 0.722 GB, free: 380 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.5766, allocations: 117.1 kB / 0.7221 GB, free: 244 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.5768, allocations: 79.89 kB / 0.7222 GB, free: 164 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5768, allocations: 4 kB / 0.7222 GB, free: 160 kB / 0.5294 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000443/0.5773, allocations: 233 kB / 0.7224 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5773, allocations: 4 kB / 0.7224 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5773, allocations: 4.156 kB / 0.7224 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5773, allocations: 8.031 kB / 0.7225 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.5775, allocations: 32.86 kB / 0.7225 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5775, allocations: 7.953 kB / 0.7225 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.5777, allocations: 35.77 kB / 0.7225 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5778, allocations: 11.98 kB / 0.7225 GB, free: 15.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.578, allocations: 149.8 kB / 0.7227 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.578, allocations: 27.62 kB / 0.7227 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.5785, allocations: 215.2 kB / 0.7229 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.5785, allocations: 11.98 kB / 0.7229 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5785, allocations: 0 / 0.7229 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.5785, allocations: 3.953 kB / 0.7229 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.5796, allocations: 0.6836 MB / 0.7236 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5796, allocations: 0 / 0.7236 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.5797, allocations: 31.94 kB / 0.7236 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.5797, allocations: 8.156 kB / 0.7236 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.5798, allocations: 12 kB / 0.7236 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5798, allocations: 0 / 0.7236 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5798, allocations: 4 kB / 0.7236 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.5803, allocations: 352.2 kB / 0.724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.5805, allocations: 116.7 kB / 0.7241 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.5805, allocations: 7.953 kB / 0.7241 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.5807, allocations: 27.97 kB / 0.7241 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.5808, allocations: 11.98 kB / 0.7241 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5808, allocations: 11.62 kB / 0.7242 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002172/0.581, allocations: 215.1 kB / 0.7244 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.581, allocations: 4 kB / 0.7244 GB, free: 13.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004006/0.5814, allocations: 75.83 kB / 0.7244 GB, free: 13.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004375/0.5819, allocations: 158.8 kB / 0.7246 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.5823, allocations: 163.8 kB / 0.7247 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5823, allocations: 320 / 0.7247 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.5825, allocations: 87.88 kB / 0.7248 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/0.5834, allocations: 149.9 kB / 0.725 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.5843, allocations: 0.6247 MB / 0.7256 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.5847, allocations: 0.7836 MB / 0.7263 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.585, allocations: 58.94 kB / 0.7264 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.585, allocations: 23.44 kB / 0.7264 GB, free: 11.63 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/0.5851, allocations: 0 / 0.7264 GB, free: 11.63 MB / 0.545 GB Notification: Performance of Templates: time 0.01004/0.5951, allocations: 4.709 MB / 0.731 GB, free: 7.02 MB / 0.545 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)