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.006778/0.006778, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001438/0.001438, allocations: 196.9 kB / 16.67 MB, free: 5.969 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8225/0.8225, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.69 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1684, allocations: 80.93 MB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03979/0.2083, allocations: 41.57 MB / 0.7052 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.2234, allocations: 10.38 MB / 0.7154 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.226, allocations: 55.69 kB / 0.7154 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.2283, allocations: 0.6404 MB / 0.7161 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.234, allocations: 1.879 MB / 0.7179 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.2371, allocations: 1.196 MB / 0.7191 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005029/0.2422, allocations: 3.383 MB / 0.7224 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.244, allocations: 1.06 MB / 0.7234 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.247, allocations: 1.239 MB / 0.7246 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.2487, allocations: 0.8866 MB / 0.7255 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.249, allocations: 104 kB / 0.7256 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.2515, allocations: 0.85 MB / 0.7264 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.2519, allocations: 287 kB / 0.7267 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.253, allocations: 0.6337 MB / 0.7273 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.2565, allocations: 1.943 MB / 0.7292 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2565, allocations: 0 / 0.7292 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2565, allocations: 0 / 0.7292 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.328e-05/0.2565, allocations: 7.922 kB / 0.7292 GB, free: 3.461 MB / 0.5606 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.003031/0.2596, allocations: 1.544 MB / 0.7307 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2596, allocations: 9.109 kB / 0.7307 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.2601, allocations: 140.1 kB / 0.7309 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.262, allocations: 1.115 MB / 0.7319 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.2621, allocations: 53.94 kB / 0.732 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.2622, allocations: 75.95 kB / 0.7321 GB, free: 444 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.2637, allocations: 0.7866 MB / 0.7328 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.2637, allocations: 7.938 kB / 0.7328 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.67e-05/0.2638, allocations: 28 kB / 0.7329 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.2638, allocations: 27.92 kB / 0.7329 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.265, allocations: 0.5594 MB / 0.7334 GB, free: 14.98 MB / 0.5762 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.004301/0.2693, allocations: 3.564 MB / 0.7369 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.2699, allocations: 254.4 kB / 0.7372 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.2703, allocations: 182.5 kB / 0.7373 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.2708, allocations: 0.6537 MB / 0.738 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.2709, allocations: 38.56 kB / 0.738 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.205e-06/0.2709, allocations: 0 / 0.738 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001247/0.2721, allocations: 0.528 MB / 0.7385 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2722, allocations: 55.41 kB / 0.7386 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.2734, allocations: 0.9533 MB / 0.7395 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2735, allocations: 33.7 kB / 0.7395 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.2739, allocations: 0.4965 MB / 0.74 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.274, allocations: 115.1 kB / 0.7401 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.2742, allocations: 126.1 kB / 0.7403 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2743, allocations: 326 kB / 0.7406 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.2747, allocations: 161 kB / 0.7407 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.2753, allocations: 346.9 kB / 0.7411 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.2761, allocations: 0.5148 MB / 0.7416 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.2761, allocations: 0 / 0.7416 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001264/0.2774, allocations: 0.6254 MB / 0.7422 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.2775, allocations: 8 kB / 0.7422 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2775, allocations: 4 kB / 0.7422 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2775, allocations: 8 kB / 0.7422 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.278, allocations: 120.3 kB / 0.7423 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/0.278, allocations: 19.92 kB / 0.7423 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.2786, allocations: 83.42 kB / 0.7424 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/0.2787, allocations: 24 kB / 0.7424 GB, free: 5.176 MB / 0.5762 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.0004165/0.2791, allocations: 285.5 kB / 0.7427 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.2793, allocations: 111.3 kB / 0.7428 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.2804, allocations: 480.5 kB / 0.7433 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.2804, allocations: 7.984 kB / 0.7433 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.2804, allocations: 3.938 kB / 0.7433 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007121/0.2811, allocations: 447 kB / 0.7437 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.2832, allocations: 1.366 MB / 0.745 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2833, allocations: 4.156 kB / 0.745 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.2836, allocations: 75.89 kB / 0.7451 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.2836, allocations: 4 kB / 0.7451 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.2837, allocations: 15.92 kB / 0.7451 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.2837, allocations: 4 kB / 0.7451 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2837, allocations: 64 / 0.7451 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.285, allocations: 0.7801 MB / 0.7459 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.2853, allocations: 232.4 kB / 0.7461 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.2855, allocations: 8 kB / 0.7461 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/0.2861, allocations: 27.95 kB / 0.7461 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.2862, allocations: 27.91 kB / 0.7462 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.2862, allocations: 23.98 kB / 0.7462 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001025/0.2872, allocations: 0.6588 MB / 0.7468 GB, free: 488 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2873, allocations: 4 kB / 0.7468 GB, free: 484 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001084/0.2883, allocations: 347.2 kB / 0.7472 GB, free: 136 kB / 0.5762 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.3184/0.6068, allocations: 389 kB / 0.7475 GB, free: 80.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.608, allocations: 416.2 kB / 0.7479 GB, free: 80.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.608, allocations: 4.719 kB / 0.7479 GB, free: 80.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.6084, allocations: 186.5 kB / 0.7481 GB, free: 80.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.6114, allocations: 0.609 MB / 0.7487 GB, free: 80.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.6138, allocations: 1.62 MB / 0.7503 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.6143, allocations: 1.038 MB / 0.7513 GB, free: 79.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007004/0.615, allocations: 195.2 kB / 0.7515 GB, free: 79.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.6152, allocations: 80.19 kB / 0.7516 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.6152, allocations: 3.719 kB / 0.7516 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.04142/0.6566, allocations: 21.37 MB / 0.7724 GB, free: 71.6 MB / 0.5762 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)