Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001087/0.001087, allocations: 87.98 kB / 16.02 MB, free: 80 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.001353/0.001354, allocations: 185.7 kB / 16.92 MB, free: 6.688 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9564/0.9564, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 8 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 82.31 MB / 0.5886 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3451/0.5099, allocations: 40.47 MB / 0.6281 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.5223, allocations: 10.33 MB / 0.6382 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.5246, allocations: 52.06 kB / 0.6383 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.5264, allocations: 0.5235 MB / 0.6388 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.5316, allocations: 1.742 MB / 0.6405 GB, free: 22.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.5344, allocations: 1.072 MB / 0.6415 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00504/0.5395, allocations: 4.511 MB / 0.6459 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.541, allocations: 0.8547 MB / 0.6468 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.5433, allocations: 1.02 MB / 0.6478 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.5447, allocations: 0.8619 MB / 0.6486 GB, free: 19.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.5448, allocations: 39.31 kB / 0.6486 GB, free: 19.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.5467, allocations: 0.7651 MB / 0.6494 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.5469, allocations: 211.5 kB / 0.6496 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.5476, allocations: 0.5802 MB / 0.6502 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.5492, allocations: 1.43 MB / 0.6516 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5492, allocations: 0 / 0.6516 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5492, allocations: 10.5 kB / 0.6516 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.5492, allocations: 4 kB / 0.6516 GB, free: 17.92 MB / 0.4981 GB 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.002069/0.5513, allocations: 1.297 MB / 0.6528 GB, free: 17.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5514, allocations: 14.44 kB / 0.6529 GB, free: 17.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.5517, allocations: 134.2 kB / 0.653 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5531, allocations: 1.078 MB / 0.654 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.5532, allocations: 55.19 kB / 0.6541 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-05/0.5533, allocations: 75.36 kB / 0.6542 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5545, allocations: 0.8035 MB / 0.6549 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.5546, allocations: 0 / 0.6549 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/0.5546, allocations: 30.47 kB / 0.655 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.5547, allocations: 24.03 kB / 0.655 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.5559, allocations: 0.5932 MB / 0.6556 GB, free: 15.65 MB / 0.4981 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.003654/0.5595, allocations: 3.548 MB / 0.659 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.5602, allocations: 272.9 kB / 0.6593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.5606, allocations: 188.7 kB / 0.6595 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.561, allocations: 0.6598 MB / 0.6601 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5611, allocations: 37.8 kB / 0.6602 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.554e-06/0.5611, allocations: 3.938 kB / 0.6602 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001311/0.5624, allocations: 0.5482 MB / 0.6607 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.5624, allocations: 55.44 kB / 0.6608 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.5638, allocations: 0.9294 MB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.5638, allocations: 35.83 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.5642, allocations: 496.1 kB / 0.6622 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5643, allocations: 116.1 kB / 0.6623 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.5644, allocations: 49.08 kB / 0.6623 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.5645, allocations: 337.4 kB / 0.6626 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.5649, allocations: 171 kB / 0.6628 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.5654, allocations: 366.9 kB / 0.6632 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.5663, allocations: 0.5275 MB / 0.6637 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5663, allocations: 1 kB / 0.6637 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001293/0.5676, allocations: 0.6482 MB / 0.6643 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5677, allocations: 7.469 kB / 0.6643 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5677, allocations: 6.062 kB / 0.6643 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.5677, allocations: 7.359 kB / 0.6643 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.5682, allocations: 129 kB / 0.6645 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.5682, allocations: 13.52 kB / 0.6645 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/0.5691, allocations: 119.8 kB / 0.6646 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.5691, allocations: 25.38 kB / 0.6646 GB, free: 9.547 MB / 0.4981 GB 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.0004242/0.5696, allocations: 284.7 kB / 0.6649 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5697, allocations: 98.53 kB / 0.665 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.5708, allocations: 0.4948 MB / 0.6655 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5708, allocations: 5.141 kB / 0.6655 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5708, allocations: 0.5156 kB / 0.6655 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007477/0.5715, allocations: 484.9 kB / 0.6659 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.5738, allocations: 1.374 MB / 0.6673 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5738, allocations: 9.125 kB / 0.6673 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.5742, allocations: 87.05 kB / 0.6674 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.5742, allocations: 3.25 kB / 0.6674 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5742, allocations: 9.406 kB / 0.6674 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.5743, allocations: 3.516 kB / 0.6674 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5743, allocations: 5.156 kB / 0.6674 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.5756, allocations: 0.7921 MB / 0.6681 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.576, allocations: 246.2 kB / 0.6684 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5761, allocations: 8.281 kB / 0.6684 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.5767, allocations: 60.08 kB / 0.6684 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.5768, allocations: 29.97 kB / 0.6685 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.5768, allocations: 20.56 kB / 0.6685 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008831/0.5777, allocations: 0.6483 MB / 0.6691 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5777, allocations: 0 / 0.6691 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001089/0.5788, allocations: 327 kB / 0.6694 GB, free: 7.086 MB / 0.4981 GB 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.0007744/0.5796, allocations: 386.1 kB / 0.6698 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000997/0.5806, allocations: 437.6 kB / 0.6702 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5806, allocations: 0 / 0.6702 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.5811, allocations: 197.1 kB / 0.6704 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.5844, allocations: 0.5969 MB / 0.671 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.5874, allocations: 2.024 MB / 0.673 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.588, allocations: 1.029 MB / 0.674 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.5882, allocations: 87.83 kB / 0.6741 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of SimCode: time 1.664e-06/0.5882, allocations: 0 / 0.6741 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.03569/0.6239, allocations: 17.67 MB / 0.6913 GB, free: 14.8 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)