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.001599/0.001599, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001762/0.001763, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8397/0.8397, allocations: 135.1 MB / 426.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3682, allocations: 80.91 MB / 0.585 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03841/0.4066, allocations: 41.58 MB / 0.6256 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.4223, allocations: 10.38 MB / 0.6357 GB, free: 6.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.4245, allocations: 55.69 kB / 0.6358 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.4266, allocations: 0.6443 MB / 0.6364 GB, free: 5.852 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005652/0.4323, allocations: 1.874 MB / 0.6383 GB, free: 3.969 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.4354, allocations: 1.161 MB / 0.6394 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004701/0.4401, allocations: 3.395 MB / 0.6427 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.4421, allocations: 1.062 MB / 0.6437 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.4456, allocations: 1.227 MB / 0.6449 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.4475, allocations: 0.8828 MB / 0.6458 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.4479, allocations: 103.9 kB / 0.6459 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.4504, allocations: 0.8539 MB / 0.6467 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004983/0.4509, allocations: 275 kB / 0.647 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.4523, allocations: 0.626 MB / 0.6476 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003578/0.4559, allocations: 1.916 MB / 0.6495 GB, free: 8.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4559, allocations: 4 kB / 0.6495 GB, free: 8.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4559, allocations: 4 kB / 0.6495 GB, free: 8.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.965e-05/0.456, allocations: 0 / 0.6495 GB, free: 8.434 MB / 494.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.003166/0.4591, allocations: 1.511 MB / 0.651 GB, free: 6.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4592, allocations: 13.11 kB / 0.651 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/0.4597, allocations: 135.4 kB / 0.6511 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.4616, allocations: 1.052 MB / 0.6521 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.4617, allocations: 50 kB / 0.6522 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.4618, allocations: 72 kB / 0.6522 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.4633, allocations: 0.7905 MB / 0.653 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.4633, allocations: 0 / 0.653 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.4634, allocations: 32 kB / 0.653 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.4634, allocations: 16 kB / 0.6531 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.4646, allocations: 0.5789 MB / 0.6536 GB, free: 4.062 MB / 494.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.004657/0.4693, allocations: 3.567 MB / 0.6571 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.4699, allocations: 271.1 kB / 0.6574 GB, free: 0 / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.4703, allocations: 180.8 kB / 0.6575 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000552/0.4709, allocations: 0.6532 MB / 0.6582 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.4709, allocations: 42.56 kB / 0.6582 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.4709, allocations: 0 / 0.6582 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001319/0.4723, allocations: 0.5163 MB / 0.6587 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4723, allocations: 59.39 kB / 0.6588 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.4736, allocations: 0.9532 MB / 0.6597 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.4736, allocations: 33.7 kB / 0.6597 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.474, allocations: 499.6 kB / 0.6602 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4741, allocations: 114.4 kB / 0.6603 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.4743, allocations: 122 kB / 0.6604 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4744, allocations: 322 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.4748, allocations: 161 kB / 0.6609 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.4753, allocations: 354.9 kB / 0.6612 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008694/0.4762, allocations: 0.5109 MB / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4762, allocations: 0 / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001231/0.4775, allocations: 0.6252 MB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4775, allocations: 10.44 kB / 0.6624 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4775, allocations: 8 kB / 0.6624 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4775, allocations: 8 kB / 0.6624 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.478, allocations: 123.8 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.478, allocations: 8 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/0.4787, allocations: 87.12 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.4788, allocations: 27.98 kB / 0.6626 GB, free: 10.25 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.0003774/0.4792, allocations: 278.5 kB / 0.6629 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.4794, allocations: 102.8 kB / 0.663 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4804, allocations: 476.9 kB / 0.6634 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4804, allocations: 8 kB / 0.6634 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4805, allocations: 0 / 0.6634 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007341/0.4812, allocations: 454.3 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.4834, allocations: 1.369 MB / 0.6652 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4834, allocations: 0 / 0.6652 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.4838, allocations: 75.89 kB / 0.6653 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.4838, allocations: 4 kB / 0.6653 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.4838, allocations: 12.16 kB / 0.6653 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.485e-06/0.4839, allocations: 7.984 kB / 0.6653 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4839, allocations: 0 / 0.6653 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.4852, allocations: 0.7625 MB / 0.6661 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.4856, allocations: 227.8 kB / 0.6663 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4857, allocations: 11.94 kB / 0.6663 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/0.4863, allocations: 28.03 kB / 0.6663 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.4864, allocations: 27.95 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.4864, allocations: 23.98 kB / 0.6664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009592/0.4874, allocations: 0.6588 MB / 0.667 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4874, allocations: 3.938 kB / 0.667 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00103/0.4885, allocations: 343.4 kB / 0.6673 GB, free: 5.242 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.0008308/0.4893, allocations: 389.7 kB / 0.6677 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.4904, allocations: 452.6 kB / 0.6681 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4904, allocations: 8.125 kB / 0.6681 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.4908, allocations: 175.8 kB / 0.6683 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.4937, allocations: 0.6232 MB / 0.6689 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.4967, allocations: 1.65 MB / 0.6705 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.4975, allocations: 1.032 MB / 0.6715 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.4977, allocations: 83.36 kB / 0.6716 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.4977, allocations: 0 / 0.6716 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of Templates: time 0.02727/0.525, allocations: 18 MB / 0.6892 GB, free: 14.97 MB / 0.5294 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)