Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001508/0.001507, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001708/0.001708, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.591/1.591, 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/package.mo): time 0.7934/0.7934, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.98 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0475/0.1787, allocations: 41.57 MB / 0.7009 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.2044, allocations: 10.38 MB / 0.7111 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.207, allocations: 59.62 kB / 0.7111 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.2102, allocations: 0.6638 MB / 0.7118 GB, free: 5.383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008508/0.2187, allocations: 1.963 MB / 0.7137 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005106/0.2238, allocations: 1.187 MB / 0.7149 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006705/0.2305, allocations: 3.391 MB / 0.7182 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.2329, allocations: 1.071 MB / 0.7192 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.2372, allocations: 1.27 MB / 0.7205 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.2394, allocations: 0.8828 MB / 0.7213 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.2397, allocations: 104 kB / 0.7214 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.2431, allocations: 0.8617 MB / 0.7223 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.2437, allocations: 283 kB / 0.7225 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.2449, allocations: 0.6221 MB / 0.7231 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.2492, allocations: 1.946 MB / 0.725 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.2493, allocations: 4 kB / 0.7251 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2493, allocations: 3.938 kB / 0.7251 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.2493, allocations: 0 / 0.7251 GB, free: 7.766 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.002967/0.2523, allocations: 1.548 MB / 0.7266 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2524, allocations: 8.031 kB / 0.7266 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.2528, allocations: 140.1 kB / 0.7267 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.2545, allocations: 1.115 MB / 0.7278 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.2546, allocations: 57.98 kB / 0.7279 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2547, allocations: 72 kB / 0.7279 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.256, allocations: 0.7944 MB / 0.7287 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.256, allocations: 3.938 kB / 0.7287 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.2561, allocations: 28 kB / 0.7287 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.2561, allocations: 20 kB / 0.7287 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2573, allocations: 0.5711 MB / 0.7293 GB, free: 3.281 MB / 0.5606 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.004025/0.2613, allocations: 3.552 MB / 0.7328 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.2619, allocations: 262.4 kB / 0.733 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.2622, allocations: 176.7 kB / 0.7332 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/0.2628, allocations: 0.6648 MB / 0.7338 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2628, allocations: 34.56 kB / 0.7339 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.2628, allocations: 0 / 0.7339 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001189/0.264, allocations: 0.519 MB / 0.7344 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2641, allocations: 55.41 kB / 0.7344 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2652, allocations: 0.9533 MB / 0.7354 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.2653, allocations: 37.7 kB / 0.7354 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.2657, allocations: 0.4965 MB / 0.7359 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2658, allocations: 123 kB / 0.736 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.2659, allocations: 106.2 kB / 0.7361 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2661, allocations: 326 kB / 0.7364 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.2664, allocations: 169 kB / 0.7366 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.267, allocations: 355.8 kB / 0.7369 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.2678, allocations: 0.5081 MB / 0.7374 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2678, allocations: 4 kB / 0.7374 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001279/0.2691, allocations: 0.6219 MB / 0.738 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2692, allocations: 8 kB / 0.738 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.2692, allocations: 8.031 kB / 0.738 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.2692, allocations: 8 kB / 0.738 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.2698, allocations: 127.8 kB / 0.7382 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.2698, allocations: 11.94 kB / 0.7382 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.2704, allocations: 91.3 kB / 0.7383 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.2704, allocations: 24 kB / 0.7383 GB, free: 9.473 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.0003567/0.2708, allocations: 281.5 kB / 0.7386 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.271, allocations: 107.3 kB / 0.7387 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/0.272, allocations: 476.7 kB / 0.7391 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007212/0.2727, allocations: 459 kB / 0.7396 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2727, allocations: 0 / 0.7396 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.273, allocations: 232.2 kB / 0.7398 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.2732, allocations: 4 kB / 0.7398 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.2737, allocations: 35.89 kB / 0.7398 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.2737, allocations: 20.25 kB / 0.7398 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001035/0.2748, allocations: 0.5001 MB / 0.7403 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001254/0.2761, allocations: 0.8463 MB / 0.7411 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003264/0.2764, allocations: 179.8 kB / 0.7413 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007968/0.2772, allocations: 0.6547 MB / 0.742 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of Backend: time 4.61e-07/0.2772, allocations: 0 / 0.742 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.279, allocations: 0.6903 MB / 0.7426 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003954/0.2829, allocations: 2.495 MB / 0.7451 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of Templates: time 0.2873/0.5702, allocations: 21.45 MB / 0.766 GB, free: 78.12 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)