Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.3 kB / 15.99 MB, free: 6.328 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.001161/0.001161, allocations: 195.6 kB / 16.91 MB, free: 6.176 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.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.384, allocations: 77.93 MB / 0.5667 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03244/0.4165, allocations: 41.25 MB / 0.607 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.4308, allocations: 10.3 MB / 0.6171 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.433, allocations: 47.69 kB / 0.6171 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.4348, allocations: 0.5673 MB / 0.6177 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.4394, allocations: 1.76 MB / 0.6194 GB, free: 4.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.4421, allocations: 1.086 MB / 0.6204 GB, free: 3.859 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004188/0.4463, allocations: 3.426 MB / 0.6238 GB, free: 436 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.4477, allocations: 1.048 MB / 0.6248 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.4503, allocations: 1.237 MB / 0.626 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.4514, allocations: 0.9179 MB / 0.6269 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.4515, allocations: 96 kB / 0.627 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.4535, allocations: 0.8771 MB / 0.6279 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.4537, allocations: 283 kB / 0.6281 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005966/0.4543, allocations: 0.626 MB / 0.6287 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.4565, allocations: 1.916 MB / 0.6306 GB, free: 9.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4566, allocations: 4 kB / 0.6306 GB, free: 9.395 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4566, allocations: 0 / 0.6306 GB, free: 9.395 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.4566, allocations: 0 / 0.6306 GB, free: 9.395 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002323/0.4589, allocations: 1.511 MB / 0.6321 GB, free: 7.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.459, allocations: 12.62 kB / 0.6321 GB, free: 7.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.4593, allocations: 135.4 kB / 0.6322 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.4609, allocations: 1.076 MB / 0.6333 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.4609, allocations: 61.94 kB / 0.6333 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.461, allocations: 68 kB / 0.6334 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4624, allocations: 0.7944 MB / 0.6342 GB, free: 5.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.4625, allocations: 3.984 kB / 0.6342 GB, free: 5.605 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.4625, allocations: 28 kB / 0.6342 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.4626, allocations: 20 kB / 0.6342 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.4637, allocations: 0.575 MB / 0.6348 GB, free: 4.984 MB / 478.1 MB 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.003983/0.4677, allocations: 3.544 MB / 0.6383 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.4683, allocations: 265.3 kB / 0.6385 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.4686, allocations: 179.2 kB / 0.6387 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.4692, allocations: 0.6609 MB / 0.6393 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4692, allocations: 42.5 kB / 0.6394 GB, free: 15.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.4692, allocations: 0 / 0.6394 GB, free: 15.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001147/0.4704, allocations: 0.5085 MB / 0.6399 GB, free: 15.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.4704, allocations: 63.34 kB / 0.6399 GB, free: 15.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.4715, allocations: 0.9299 MB / 0.6408 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.4716, allocations: 37.69 kB / 0.6409 GB, free: 14.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.472, allocations: 0.4917 MB / 0.6414 GB, free: 13.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4721, allocations: 102.5 kB / 0.6415 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.4722, allocations: 122 kB / 0.6416 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4724, allocations: 329.9 kB / 0.6419 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.4727, allocations: 165 kB / 0.642 GB, free: 13.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.4732, allocations: 347 kB / 0.6424 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.474, allocations: 0.5109 MB / 0.6429 GB, free: 12.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.474, allocations: 0 / 0.6429 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001167/0.4752, allocations: 0.6252 MB / 0.6435 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4752, allocations: 8 kB / 0.6435 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4753, allocations: 4 kB / 0.6435 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4753, allocations: 8 kB / 0.6435 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.4757, allocations: 119.8 kB / 0.6436 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4757, allocations: 15.98 kB / 0.6436 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.4765, allocations: 119.2 kB / 0.6437 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.4765, allocations: 27.98 kB / 0.6438 GB, free: 11.19 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003849/0.4769, allocations: 285.6 kB / 0.644 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4771, allocations: 94.88 kB / 0.6441 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/0.4781, allocations: 488.5 kB / 0.6446 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.4781, allocations: 8 kB / 0.6446 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4781, allocations: 0 / 0.6446 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007272/0.4788, allocations: 449.5 kB / 0.645 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.4808, allocations: 1.358 MB / 0.6464 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4808, allocations: 0 / 0.6464 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.4812, allocations: 75.89 kB / 0.6464 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.4812, allocations: 7.938 kB / 0.6464 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.4812, allocations: 12.16 kB / 0.6465 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4812, allocations: 4 kB / 0.6465 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4812, allocations: 0 / 0.6465 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4825, allocations: 0.7696 MB / 0.6472 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.4829, allocations: 231.7 kB / 0.6474 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.483, allocations: 11.94 kB / 0.6474 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/0.4836, allocations: 51.86 kB / 0.6475 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.4837, allocations: 27.95 kB / 0.6475 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.4837, allocations: 19.98 kB / 0.6475 GB, free: 7.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008084/0.4845, allocations: 0.6549 MB / 0.6482 GB, free: 6.504 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4845, allocations: 0 / 0.6482 GB, free: 6.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009336/0.4855, allocations: 327.5 kB / 0.6485 GB, free: 6.184 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007536/0.4862, allocations: 379.1 kB / 0.6488 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000978/0.4872, allocations: 448 kB / 0.6493 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4872, allocations: 3.938 kB / 0.6493 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.4876, allocations: 187.8 kB / 0.6495 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.4902, allocations: 0.6173 MB / 0.6501 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.4928, allocations: 1.942 MB / 0.652 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.4934, allocations: 1.04 MB / 0.653 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007862/0.4942, allocations: 191.7 kB / 0.6532 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4943, allocations: 83.42 kB / 0.6532 GB, free: 1.297 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4943, allocations: 4 kB / 0.6532 GB, free: 1.293 MB / 494.1 MB Notification: Performance of Templates: time 0.03403/0.5284, allocations: 20.73 MB / 0.6735 GB, free: 12.84 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)