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.006983/0.006983, allocations: 103 kB / 15.73 MB, free: 6.035 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.00218/0.00218, allocations: 196.9 kB / 16.68 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.396/1.396, 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.813/0.813, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 66.89 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.17, allocations: 80.93 MB / 0.6647 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04741/0.2175, allocations: 41.56 MB / 0.7052 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.2326, allocations: 10.39 MB / 0.7154 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.2345, allocations: 59.62 kB / 0.7154 GB, free: 1.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.2365, allocations: 0.656 MB / 0.7161 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00527/0.2418, allocations: 1.967 MB / 0.718 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.2447, allocations: 1.185 MB / 0.7192 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004332/0.2491, allocations: 3.403 MB / 0.7225 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.2507, allocations: 1.071 MB / 0.7235 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.2537, allocations: 1.268 MB / 0.7248 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.2551, allocations: 0.8828 MB / 0.7256 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.2553, allocations: 100 kB / 0.7257 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.2572, allocations: 0.8656 MB / 0.7266 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.2575, allocations: 279 kB / 0.7268 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006738/0.2582, allocations: 0.6298 MB / 0.7274 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.2605, allocations: 1.94 MB / 0.7293 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2605, allocations: 0 / 0.7293 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2605, allocations: 0 / 0.7293 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.2605, allocations: 0 / 0.7293 GB, free: 3.305 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.002356/0.2629, allocations: 1.515 MB / 0.7308 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.263, allocations: 9.109 kB / 0.7308 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.2633, allocations: 139.4 kB / 0.731 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.265, allocations: 1.103 MB / 0.732 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.265, allocations: 54 kB / 0.7321 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2651, allocations: 72 kB / 0.7322 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.2665, allocations: 0.7944 MB / 0.7329 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.2666, allocations: 0 / 0.7329 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.2666, allocations: 28 kB / 0.733 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.2667, allocations: 23.92 kB / 0.733 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.2678, allocations: 0.575 MB / 0.7335 GB, free: 14.86 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.003952/0.2718, allocations: 3.536 MB / 0.737 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.2724, allocations: 260.5 kB / 0.7372 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.2727, allocations: 186.6 kB / 0.7374 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.2734, allocations: 0.6575 MB / 0.7381 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2734, allocations: 38.56 kB / 0.7381 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.2734, allocations: 3.938 kB / 0.7381 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001218/0.2746, allocations: 0.5197 MB / 0.7386 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.2747, allocations: 55.41 kB / 0.7387 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.2758, allocations: 0.9494 MB / 0.7396 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.2759, allocations: 37.69 kB / 0.7396 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.2762, allocations: 499.6 kB / 0.7401 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2764, allocations: 118.4 kB / 0.7402 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.2765, allocations: 110.1 kB / 0.7403 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2767, allocations: 326 kB / 0.7406 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.277, allocations: 169 kB / 0.7408 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.2775, allocations: 350.9 kB / 0.7411 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/0.2784, allocations: 0.5031 MB / 0.7416 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2784, allocations: 4 kB / 0.7416 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001125/0.2795, allocations: 0.6209 MB / 0.7422 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2796, allocations: 8 kB / 0.7422 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2796, allocations: 4 kB / 0.7422 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.2796, allocations: 8.625 kB / 0.7423 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.28, allocations: 131.8 kB / 0.7424 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.2801, allocations: 15.92 kB / 0.7424 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.2807, allocations: 87.19 kB / 0.7425 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.2807, allocations: 24 kB / 0.7425 GB, free: 5.082 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.0003487/0.2811, allocations: 269.6 kB / 0.7428 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.2812, allocations: 102.8 kB / 0.7429 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009914/0.2822, allocations: 484.5 kB / 0.7433 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.2822, allocations: 7.984 kB / 0.7433 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2823, allocations: 3.938 kB / 0.7433 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007428/0.283, allocations: 459 kB / 0.7438 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.285, allocations: 1.359 MB / 0.7451 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.285, allocations: 4 kB / 0.7451 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.2854, allocations: 71.89 kB / 0.7452 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2854, allocations: 0 / 0.7452 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.2854, allocations: 11.98 kB / 0.7452 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2854, allocations: 4 kB / 0.7452 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2854, allocations: 7.938 kB / 0.7452 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.2867, allocations: 0.7718 MB / 0.7459 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.287, allocations: 219.8 kB / 0.7462 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2872, allocations: 12 kB / 0.7462 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.2877, allocations: 35.89 kB / 0.7462 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.2877, allocations: 27.91 kB / 0.7462 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.2878, allocations: 19.98 kB / 0.7462 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008258/0.2886, allocations: 0.6589 MB / 0.7469 GB, free: 424 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2886, allocations: 0 / 0.7469 GB, free: 424 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009076/0.2895, allocations: 343.4 kB / 0.7472 GB, free: 80 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.3272/0.6167, allocations: 384.5 kB / 0.7476 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.6181, allocations: 418.6 kB / 0.748 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6181, allocations: 0 / 0.748 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.6186, allocations: 188.7 kB / 0.7482 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.6216, allocations: 0.6075 MB / 0.7488 GB, free: 80.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.6242, allocations: 1.593 MB / 0.7503 GB, free: 79.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.6248, allocations: 1.037 MB / 0.7513 GB, free: 79.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007593/0.6256, allocations: 195.1 kB / 0.7515 GB, free: 79.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.6257, allocations: 80.62 kB / 0.7516 GB, free: 79.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.6258, allocations: 0 / 0.7516 GB, free: 79.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04335/0.6691, allocations: 21.36 MB / 0.7724 GB, free: 71.62 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)