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.000976/0.0009763, allocations: 90.94 kB / 16.67 MB, free: 6.586 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.001008/0.001008, allocations: 178.8 kB / 17.58 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.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7332/0.7332, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 15.98 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4025, allocations: 77.5 MB / 0.5606 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.185/0.5876, allocations: 163.1 MB / 0.7199 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008895/0.5965, allocations: 6.457 MB / 0.7262 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.5972, allocations: 7.938 kB / 0.7262 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.5978, allocations: 135.1 kB / 0.7263 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.6003, allocations: 0.786 MB / 0.7271 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.6013, allocations: 295.8 kB / 0.7274 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.6027, allocations: 1.014 MB / 0.7284 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.6032, allocations: 230.1 kB / 0.7286 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.6046, allocations: 0.498 MB / 0.7291 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.6052, allocations: 282.8 kB / 0.7294 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.6053, allocations: 12 kB / 0.7294 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008306/0.6061, allocations: 395 kB / 0.7297 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.6063, allocations: 91.72 kB / 0.7298 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.6066, allocations: 180.8 kB / 0.73 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.6071, allocations: 327.2 kB / 0.7303 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6071, allocations: 3.984 kB / 0.7303 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6071, allocations: 0 / 0.7303 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.6071, allocations: 0 / 0.7303 GB, free: 5.016 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009433/0.6081, allocations: 0.5611 MB / 0.7309 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6081, allocations: 15.91 kB / 0.7309 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.6085, allocations: 55.59 kB / 0.7309 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.609, allocations: 309.2 kB / 0.7312 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.609, allocations: 16.56 kB / 0.7312 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.609, allocations: 28 kB / 0.7313 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.6097, allocations: 323.7 kB / 0.7316 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.6097, allocations: 3.938 kB / 0.7316 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.6097, allocations: 15.94 kB / 0.7316 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.6097, allocations: 8 kB / 0.7316 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.6102, allocations: 209.6 kB / 0.7318 GB, free: 3.375 MB / 0.5606 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.00174/0.612, allocations: 1.546 MB / 0.7333 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.6122, allocations: 130.5 kB / 0.7334 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.6124, allocations: 96.8 kB / 0.7335 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.6131, allocations: 319.2 kB / 0.7338 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.6131, allocations: 34.56 kB / 0.7339 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.6132, allocations: 0 / 0.7339 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007763/0.6139, allocations: 288.7 kB / 0.7341 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.614, allocations: 55.41 kB / 0.7342 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.6143, allocations: 308.5 kB / 0.7345 GB, free: 396 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.6143, allocations: 33.7 kB / 0.7345 GB, free: 356 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.6145, allocations: 184 kB / 0.7347 GB, free: 168 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.6145, allocations: 43.36 kB / 0.7347 GB, free: 124 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.6146, allocations: 17.72 kB / 0.7348 GB, free: 100 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6147, allocations: 338.8 kB / 0.7351 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.6149, allocations: 63.95 kB / 0.7351 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.6151, allocations: 119 kB / 0.7353 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.6154, allocations: 186.8 kB / 0.7354 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6154, allocations: 3.938 kB / 0.7354 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004168/0.6158, allocations: 233 kB / 0.7357 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6159, allocations: 8 kB / 0.7357 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6159, allocations: 0 / 0.7357 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6159, allocations: 4 kB / 0.7357 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.6161, allocations: 36.14 kB / 0.7357 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.6161, allocations: 3.938 kB / 0.7357 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.6163, allocations: 43.75 kB / 0.7357 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.6163, allocations: 4 kB / 0.7358 GB, free: 15.03 MB / 0.5762 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.0001438/0.6165, allocations: 153.8 kB / 0.7359 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.6165, allocations: 31.62 kB / 0.7359 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.617, allocations: 224.5 kB / 0.7361 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.617, allocations: 4 kB / 0.7361 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.617, allocations: 3.938 kB / 0.7362 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.617, allocations: 0 / 0.7362 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.6181, allocations: 0.6913 MB / 0.7368 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.6181, allocations: 0 / 0.7368 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.6182, allocations: 35.92 kB / 0.7369 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.6182, allocations: 4 kB / 0.7369 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6182, allocations: 4 kB / 0.7369 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.6182, allocations: 7.922 kB / 0.7369 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6183, allocations: 8.219 kB / 0.7369 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.6187, allocations: 349 kB / 0.7372 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.6188, allocations: 120.7 kB / 0.7373 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.6189, allocations: 8 kB / 0.7373 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.6191, allocations: 23.92 kB / 0.7374 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.6191, allocations: 15.98 kB / 0.7374 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.6191, allocations: 4 kB / 0.7374 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002172/0.6194, allocations: 227 kB / 0.7376 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6194, allocations: 3.938 kB / 0.7376 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003891/0.6198, allocations: 67.84 kB / 0.7377 GB, free: 12.92 MB / 0.5762 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.0004008/0.6202, allocations: 153.4 kB / 0.7378 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.6206, allocations: 169.6 kB / 0.738 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6206, allocations: 0 / 0.738 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.6208, allocations: 88.64 kB / 0.7381 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.6218, allocations: 154.3 kB / 0.7382 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.6227, allocations: 0.6793 MB / 0.7389 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.6231, allocations: 0.7798 MB / 0.7396 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.6232, allocations: 27.42 kB / 0.7397 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.693e-06/0.6232, allocations: 0 / 0.7397 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.007113/0.6303, allocations: 4.503 MB / 0.7441 GB, free: 6.352 MB / 0.5762 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)