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.001119/0.001119, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001056/0.001056, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7857/0.7857, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3496, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03469/0.3844, allocations: 41.58 MB / 0.6264 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3996, allocations: 10.37 MB / 0.6365 GB, free: 6.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.4012, allocations: 55.69 kB / 0.6365 GB, free: 6.461 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.4028, allocations: 0.6443 MB / 0.6372 GB, free: 5.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.4071, allocations: 1.881 MB / 0.639 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.4097, allocations: 1.181 MB / 0.6402 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004069/0.4138, allocations: 3.391 MB / 0.6435 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.4153, allocations: 1.054 MB / 0.6445 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.4178, allocations: 1.24 MB / 0.6457 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.4189, allocations: 0.8827 MB / 0.6466 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.419, allocations: 100 kB / 0.6467 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.4208, allocations: 0.8617 MB / 0.6475 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.4211, allocations: 275 kB / 0.6478 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000606/0.4217, allocations: 0.626 MB / 0.6484 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.424, allocations: 1.932 MB / 0.6503 GB, free: 8.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.424, allocations: 0 / 0.6503 GB, free: 8.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.379e-06/0.424, allocations: 4 kB / 0.6503 GB, free: 8.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.424, allocations: 7.875 kB / 0.6503 GB, free: 8.344 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.002326/0.4263, allocations: 1.515 MB / 0.6518 GB, free: 6.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4264, allocations: 9.109 kB / 0.6518 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.4267, allocations: 139.4 kB / 0.6519 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.4285, allocations: 1.107 MB / 0.653 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.4286, allocations: 61.92 kB / 0.653 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.4287, allocations: 76 kB / 0.6531 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.43, allocations: 0.7827 MB / 0.6539 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.43, allocations: 8 kB / 0.6539 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.4301, allocations: 24 kB / 0.6539 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.4301, allocations: 27.98 kB / 0.6539 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.4312, allocations: 0.5633 MB / 0.6545 GB, free: 3.91 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.003824/0.435, allocations: 3.551 MB / 0.658 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.4356, allocations: 258.4 kB / 0.6582 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.4359, allocations: 179.6 kB / 0.6584 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004778/0.4364, allocations: 0.6532 MB / 0.659 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.4364, allocations: 38.56 kB / 0.6591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.4364, allocations: 0 / 0.6591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001133/0.4376, allocations: 0.5241 MB / 0.6596 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.4376, allocations: 59.41 kB / 0.6596 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.4387, allocations: 0.9493 MB / 0.6605 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.4387, allocations: 33.7 kB / 0.6606 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.4391, allocations: 0.4918 MB / 0.6611 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.4392, allocations: 106.5 kB / 0.6612 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.4394, allocations: 118 kB / 0.6613 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4395, allocations: 326 kB / 0.6616 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.4398, allocations: 165 kB / 0.6617 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.4403, allocations: 350.9 kB / 0.6621 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.4411, allocations: 0.507 MB / 0.6626 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4411, allocations: 0 / 0.6626 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001044/0.4422, allocations: 0.625 MB / 0.6632 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4422, allocations: 8 kB / 0.6632 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4422, allocations: 4 kB / 0.6632 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4422, allocations: 11.94 kB / 0.6632 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.4427, allocations: 123.8 kB / 0.6633 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.4427, allocations: 8 kB / 0.6633 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.4433, allocations: 95.42 kB / 0.6634 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.4433, allocations: 24 kB / 0.6634 GB, free: 10.13 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.0003321/0.4437, allocations: 274.5 kB / 0.6637 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4438, allocations: 102.7 kB / 0.6638 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008989/0.4447, allocations: 490.9 kB / 0.6643 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4447, allocations: 7.984 kB / 0.6643 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4448, allocations: 4.062 kB / 0.6643 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000669/0.4454, allocations: 451 kB / 0.6647 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.4474, allocations: 1.37 MB / 0.6661 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4474, allocations: 0 / 0.6661 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.4477, allocations: 71.89 kB / 0.6661 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.4478, allocations: 8.156 kB / 0.6661 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.4478, allocations: 11.98 kB / 0.6661 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4478, allocations: 4 kB / 0.6661 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4478, allocations: 0 / 0.6661 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.449, allocations: 0.7629 MB / 0.6669 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.4493, allocations: 227.8 kB / 0.6671 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4494, allocations: 12 kB / 0.6671 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.4499, allocations: 32.02 kB / 0.6671 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.4499, allocations: 23.97 kB / 0.6672 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.45, allocations: 23.98 kB / 0.6672 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000783/0.4508, allocations: 0.6549 MB / 0.6678 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4508, allocations: 3.938 kB / 0.6678 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008899/0.4517, allocations: 339.4 kB / 0.6682 GB, free: 5.125 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.000721/0.4524, allocations: 408.2 kB / 0.6685 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008278/0.4532, allocations: 424.5 kB / 0.669 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4533, allocations: 0 / 0.669 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.4536, allocations: 191.7 kB / 0.6691 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.4559, allocations: 0.6121 MB / 0.6697 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4582, allocations: 1.588 MB / 0.6713 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.4588, allocations: 1.036 MB / 0.6723 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005924/0.4594, allocations: 190.9 kB / 0.6725 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4595, allocations: 91.34 kB / 0.6726 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.4595, allocations: 0 / 0.6726 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.03182/0.4914, allocations: 21.2 MB / 0.6933 GB, free: 11.62 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)