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.001428/0.001428, allocations: 111.9 kB / 16.37 MB, free: 6.344 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.001469/0.001469, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8242/0.8242, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.28 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1616, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03726/0.1989, allocations: 41.57 MB / 0.7009 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.2129, allocations: 10.38 MB / 0.711 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.2152, allocations: 59.62 kB / 0.7111 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.2172, allocations: 0.6443 MB / 0.7117 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.2224, allocations: 1.87 MB / 0.7135 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.2254, allocations: 1.184 MB / 0.7147 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004255/0.2297, allocations: 3.394 MB / 0.718 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2312, allocations: 1.056 MB / 0.719 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.2341, allocations: 1.238 MB / 0.7202 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.2354, allocations: 0.8905 MB / 0.7211 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.2356, allocations: 100 kB / 0.7212 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.2376, allocations: 0.8656 MB / 0.722 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.2379, allocations: 279 kB / 0.7223 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008532/0.2387, allocations: 0.626 MB / 0.7229 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.2414, allocations: 1.932 MB / 0.7248 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2415, allocations: 3.938 kB / 0.7248 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2415, allocations: 3.938 kB / 0.7248 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.2415, allocations: 3.984 kB / 0.7248 GB, free: 7.98 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.002447/0.2439, allocations: 1.511 MB / 0.7263 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.244, allocations: 8.031 kB / 0.7263 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.2444, allocations: 135.4 kB / 0.7264 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.246, allocations: 1.11 MB / 0.7275 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.2461, allocations: 54 kB / 0.7276 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2462, allocations: 75.98 kB / 0.7276 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2474, allocations: 0.7866 MB / 0.7284 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2475, allocations: 4 kB / 0.7284 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.2475, allocations: 28 kB / 0.7284 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.2476, allocations: 19.98 kB / 0.7285 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.2486, allocations: 0.5672 MB / 0.729 GB, free: 3.555 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.004447/0.2531, allocations: 3.547 MB / 0.7325 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.2537, allocations: 258.4 kB / 0.7327 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.2541, allocations: 180.8 kB / 0.7329 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.2546, allocations: 0.657 MB / 0.7335 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2547, allocations: 38.56 kB / 0.7336 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.2547, allocations: 0 / 0.7336 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001254/0.2559, allocations: 0.5222 MB / 0.7341 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.256, allocations: 55.41 kB / 0.7341 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.2572, allocations: 0.9533 MB / 0.7351 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.2573, allocations: 33.7 kB / 0.7351 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.2577, allocations: 499.6 kB / 0.7356 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2578, allocations: 110.4 kB / 0.7357 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.2579, allocations: 122 kB / 0.7358 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.258, allocations: 326 kB / 0.7361 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2584, allocations: 165 kB / 0.7363 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.2589, allocations: 347.8 kB / 0.7366 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.2597, allocations: 0.512 MB / 0.7371 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2597, allocations: 0 / 0.7371 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00109/0.2608, allocations: 0.6133 MB / 0.7377 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2608, allocations: 8 kB / 0.7377 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.2608, allocations: 4 kB / 0.7377 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.2608, allocations: 8 kB / 0.7377 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.2613, allocations: 124.2 kB / 0.7378 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.2613, allocations: 19.92 kB / 0.7379 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.2619, allocations: 91.17 kB / 0.7379 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.262, allocations: 28 kB / 0.738 GB, free: 9.773 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.0003485/0.2623, allocations: 277.5 kB / 0.7382 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.2625, allocations: 98.78 kB / 0.7383 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009545/0.2635, allocations: 490.6 kB / 0.7388 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2635, allocations: 7.984 kB / 0.7388 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.2635, allocations: 7.922 kB / 0.7388 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006869/0.2642, allocations: 447.1 kB / 0.7392 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.2662, allocations: 1.366 MB / 0.7406 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2662, allocations: 160 / 0.7406 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.2665, allocations: 79.89 kB / 0.7407 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2665, allocations: 4 kB / 0.7407 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.2666, allocations: 11.98 kB / 0.7407 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2666, allocations: 4 kB / 0.7407 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2666, allocations: 0 / 0.7407 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.2678, allocations: 0.7668 MB / 0.7414 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.2681, allocations: 231.8 kB / 0.7416 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2682, allocations: 8 kB / 0.7416 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.2687, allocations: 31.95 kB / 0.7417 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.2688, allocations: 27.97 kB / 0.7417 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.2688, allocations: 19.98 kB / 0.7417 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008091/0.2697, allocations: 0.6549 MB / 0.7424 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.343e-06/0.2697, allocations: 0 / 0.7424 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009651/0.2706, allocations: 347.4 kB / 0.7427 GB, free: 4.766 MB / 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.0007758/0.2714, allocations: 396.2 kB / 0.7431 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009058/0.2723, allocations: 428.1 kB / 0.7435 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2723, allocations: 4 kB / 0.7435 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.2727, allocations: 192.7 kB / 0.7437 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.2753, allocations: 0.6033 MB / 0.7443 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.2778, allocations: 1.611 MB / 0.7458 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.2784, allocations: 1.036 MB / 0.7468 GB, free: 480 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.2786, allocations: 83.42 kB / 0.7469 GB, free: 396 kB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.2786, allocations: 4 kB / 0.7469 GB, free: 392 kB / 0.5762 GB Notification: Performance of Templates: time 0.3784/0.657, allocations: 17.97 MB / 0.7645 GB, free: 77.62 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)