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.0011/0.0011, allocations: 110.6 kB / 16.41 MB, free: 6.477 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.001164/0.001164, allocations: 183 kB / 17.34 MB, free: 5.754 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.786/0.786, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.16 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1609, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04204/0.2029, allocations: 41.57 MB / 0.7059 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.2172, allocations: 10.39 MB / 0.716 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.2193, allocations: 55.69 kB / 0.7161 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.221, allocations: 0.6365 MB / 0.7167 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.2261, allocations: 1.878 MB / 0.7185 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.229, allocations: 1.176 MB / 0.7197 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.2334, allocations: 3.399 MB / 0.723 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.2349, allocations: 1.068 MB / 0.7241 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.2377, allocations: 1.265 MB / 0.7253 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.2389, allocations: 0.8828 MB / 0.7262 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.239, allocations: 100 kB / 0.7263 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.241, allocations: 0.8656 MB / 0.7271 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.2413, allocations: 279 kB / 0.7274 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000593/0.2419, allocations: 0.626 MB / 0.728 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.2443, allocations: 1.936 MB / 0.7299 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2444, allocations: 4 kB / 0.7299 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2444, allocations: 3.938 kB / 0.7299 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.2444, allocations: 0 / 0.7299 GB, free: 3.438 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.002219/0.2466, allocations: 1.515 MB / 0.7314 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2467, allocations: 9.109 kB / 0.7314 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.247, allocations: 139.4 kB / 0.7315 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.2486, allocations: 1.107 MB / 0.7326 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.2486, allocations: 54 kB / 0.7326 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/0.2487, allocations: 76 kB / 0.7327 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.25, allocations: 0.7905 MB / 0.7335 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2501, allocations: 4 kB / 0.7335 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.2501, allocations: 28 kB / 0.7335 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.2502, allocations: 16 kB / 0.7335 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2512, allocations: 0.575 MB / 0.7341 GB, free: 15 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.003564/0.2548, allocations: 3.547 MB / 0.7375 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.2553, allocations: 267.1 kB / 0.7378 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.2557, allocations: 178.9 kB / 0.738 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/0.2562, allocations: 0.6537 MB / 0.7386 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2562, allocations: 38.56 kB / 0.7386 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.2562, allocations: 0 / 0.7386 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.00115/0.2574, allocations: 0.5197 MB / 0.7392 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2574, allocations: 55.41 kB / 0.7392 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.2585, allocations: 0.9533 MB / 0.7401 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2585, allocations: 33.7 kB / 0.7402 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.2589, allocations: 0.4918 MB / 0.7406 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.874e-05/0.259, allocations: 110.4 kB / 0.7408 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.2591, allocations: 114.1 kB / 0.7409 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2593, allocations: 329.9 kB / 0.7412 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.2596, allocations: 165 kB / 0.7413 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.2601, allocations: 354.9 kB / 0.7417 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.2609, allocations: 0.5031 MB / 0.7422 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.2609, allocations: 8 kB / 0.7422 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001164/0.2621, allocations: 0.6094 MB / 0.7428 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.2621, allocations: 8 kB / 0.7428 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.2621, allocations: 7.984 kB / 0.7428 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.2622, allocations: 8 kB / 0.7428 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.2626, allocations: 131.8 kB / 0.7429 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.2627, allocations: 11.94 kB / 0.7429 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.2633, allocations: 87.56 kB / 0.743 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.2634, allocations: 27.98 kB / 0.743 GB, free: 5.215 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.0004051/0.2638, allocations: 269.6 kB / 0.7433 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.264, allocations: 98.78 kB / 0.7434 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009861/0.2649, allocations: 492.4 kB / 0.7439 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.265, allocations: 4 kB / 0.7439 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.265, allocations: 3.938 kB / 0.7439 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006939/0.2657, allocations: 451 kB / 0.7443 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.2676, allocations: 1.366 MB / 0.7456 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2676, allocations: 0 / 0.7456 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.268, allocations: 80.05 kB / 0.7457 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.268, allocations: 0 / 0.7457 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.268, allocations: 8 kB / 0.7457 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.268, allocations: 4 kB / 0.7457 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.268, allocations: 0 / 0.7457 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2692, allocations: 0.7756 MB / 0.7465 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.2695, allocations: 223.8 kB / 0.7467 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2696, allocations: 12 kB / 0.7467 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.2701, allocations: 36.09 kB / 0.7467 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2702, allocations: 23.97 kB / 0.7468 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.2703, allocations: 19.98 kB / 0.7468 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008287/0.2711, allocations: 0.6588 MB / 0.7474 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2711, allocations: 0 / 0.7474 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001007/0.2721, allocations: 335.5 kB / 0.7477 GB, free: 228 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.3578/0.6299, allocations: 397 kB / 0.7481 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.6312, allocations: 420.5 kB / 0.7485 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6312, allocations: 0.5 kB / 0.7485 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.6316, allocations: 187.8 kB / 0.7487 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.6347, allocations: 0.6141 MB / 0.7493 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.6375, allocations: 1.627 MB / 0.7509 GB, free: 79.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.6381, allocations: 1.034 MB / 0.7519 GB, free: 79.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.6383, allocations: 82.27 kB / 0.752 GB, free: 79.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.6383, allocations: 1.438 kB / 0.752 GB, free: 79.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.0354/0.6737, allocations: 18.09 MB / 0.7696 GB, free: 73.11 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)