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.001403/0.001403, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.001628/0.001628, allocations: 192.3 kB / 16.91 MB, free: 6.195 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.377/1.377, 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.742/0.742, allocations: 122.9 MB / 413.6 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 0.4906 GB, free: 7.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, 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.03418/0.3903, allocations: 41.24 MB / 0.607 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.4037, allocations: 10.32 MB / 0.617 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.4055, allocations: 51.69 kB / 0.6171 GB, free: 7.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.4071, allocations: 0.5479 MB / 0.6176 GB, free: 6.785 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.4115, allocations: 1.761 MB / 0.6193 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.4143, allocations: 1.099 MB / 0.6204 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.4188, allocations: 3.418 MB / 0.6237 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.4204, allocations: 1.044 MB / 0.6248 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.4233, allocations: 1.25 MB / 0.626 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.4248, allocations: 0.9178 MB / 0.6269 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.425, allocations: 100 kB / 0.627 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.4269, allocations: 0.8693 MB / 0.6278 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002836/0.4272, allocations: 275 kB / 0.6281 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.4279, allocations: 0.6337 MB / 0.6287 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.4305, allocations: 1.92 MB / 0.6306 GB, free: 9.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4305, allocations: 0 / 0.6306 GB, free: 9.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4305, allocations: 0 / 0.6306 GB, free: 9.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.4305, allocations: 0 / 0.6306 GB, free: 9.473 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.002393/0.4329, allocations: 1.511 MB / 0.6321 GB, free: 7.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.433, allocations: 8.625 kB / 0.6321 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.4333, allocations: 135.4 kB / 0.6322 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.4349, allocations: 1.084 MB / 0.6333 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.435, allocations: 54 kB / 0.6333 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.4351, allocations: 68 kB / 0.6334 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.4364, allocations: 0.7905 MB / 0.6341 GB, free: 5.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.4365, allocations: 11.94 kB / 0.6342 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.4365, allocations: 27.98 kB / 0.6342 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.4366, allocations: 20 kB / 0.6342 GB, free: 5.641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4377, allocations: 0.5711 MB / 0.6348 GB, free: 5.066 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.003807/0.4415, allocations: 3.548 MB / 0.6382 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.4421, allocations: 261 kB / 0.6385 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.4424, allocations: 184.7 kB / 0.6386 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.4429, allocations: 0.6532 MB / 0.6393 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.443, allocations: 42.5 kB / 0.6393 GB, free: 15.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.443, allocations: 0 / 0.6393 GB, free: 15.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001171/0.4442, allocations: 0.5163 MB / 0.6398 GB, free: 15.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4442, allocations: 55.41 kB / 0.6399 GB, free: 15.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.4453, allocations: 0.9299 MB / 0.6408 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.4454, allocations: 37.7 kB / 0.6408 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.4458, allocations: 499.6 kB / 0.6413 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4459, allocations: 110.5 kB / 0.6414 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.4461, allocations: 122 kB / 0.6415 GB, free: 13.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4462, allocations: 329.9 kB / 0.6418 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.4466, allocations: 161 kB / 0.642 GB, free: 13.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.4471, allocations: 346.9 kB / 0.6423 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.4479, allocations: 0.5148 MB / 0.6428 GB, free: 12.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4479, allocations: 4 kB / 0.6428 GB, free: 12.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001119/0.449, allocations: 0.6171 MB / 0.6434 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4491, allocations: 10.03 kB / 0.6434 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4491, allocations: 7.984 kB / 0.6435 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4491, allocations: 8 kB / 0.6435 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.4496, allocations: 124.2 kB / 0.6436 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.4496, allocations: 12.06 kB / 0.6436 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.4503, allocations: 119.1 kB / 0.6437 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.4503, allocations: 24 kB / 0.6437 GB, free: 11.27 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.0003512/0.4507, allocations: 281.5 kB / 0.644 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4509, allocations: 98.78 kB / 0.6441 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000959/0.4518, allocations: 482.5 kB / 0.6445 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.4518, allocations: 0 / 0.6445 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4519, allocations: 4 kB / 0.6446 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007195/0.4526, allocations: 454 kB / 0.645 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.4546, allocations: 1.35 MB / 0.6463 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4546, allocations: 4.156 kB / 0.6463 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.4549, allocations: 83.88 kB / 0.6464 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4549, allocations: 7.875 kB / 0.6464 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.455, allocations: 8 kB / 0.6464 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.455, allocations: 7.938 kB / 0.6464 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.455, allocations: 7.938 kB / 0.6464 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4562, allocations: 0.7581 MB / 0.6472 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.4565, allocations: 231.7 kB / 0.6474 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4566, allocations: 8 kB / 0.6474 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.4572, allocations: 59.78 kB / 0.6474 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.4573, allocations: 27.91 kB / 0.6475 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.4573, allocations: 19.98 kB / 0.6475 GB, free: 7.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007919/0.4581, allocations: 0.6471 MB / 0.6481 GB, free: 6.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4582, allocations: 0 / 0.6481 GB, free: 6.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008726/0.459, allocations: 331.4 kB / 0.6484 GB, free: 6.273 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.0007044/0.4597, allocations: 375.2 kB / 0.6488 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009281/0.4607, allocations: 451.1 kB / 0.6492 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4607, allocations: 1.375 kB / 0.6492 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.4611, allocations: 196 kB / 0.6494 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.4636, allocations: 0.61 MB / 0.65 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4661, allocations: 1.941 MB / 0.6519 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.4667, allocations: 1.044 MB / 0.6529 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000686/0.4674, allocations: 195 kB / 0.6531 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.4675, allocations: 75.42 kB / 0.6532 GB, free: 1.387 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4675, allocations: 3.938 kB / 0.6532 GB, free: 1.383 MB / 494.1 MB Notification: Performance of Templates: time 0.03243/0.5, allocations: 20.74 MB / 0.6734 GB, free: 12.93 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)