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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7427/0.7427, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.3 MB / 396.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 100.9 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.355e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1885, allocations: 81.58 MB / 0.6347 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.555, allocations: 381.4 MB / 1.007 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.556, allocations: 93.47 kB / 1.007 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.297/2.853, allocations: 442.9 MB / 1.44 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/2.853, allocations: 0 / 1.44 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001057/2.853, allocations: 35.92 kB / 1.44 GB, free: 65.41 MB / 0.6823 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.002093/2.855, allocations: 1.247 MB / 1.441 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/2.855, allocations: 12.03 kB / 1.441 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/2.855, allocations: 138.4 kB / 1.441 GB, free: 63.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02361/2.879, allocations: 12.96 MB / 1.454 GB, free: 50.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/2.879, allocations: 50 kB / 1.454 GB, free: 50.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/2.879, allocations: 76 kB / 1.454 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/2.88, allocations: 0.732 MB / 1.455 GB, free: 49.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/2.881, allocations: 4 kB / 1.455 GB, free: 49.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/2.881, allocations: 28 kB / 1.455 GB, free: 49.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/2.881, allocations: 27.94 kB / 1.455 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/2.881, allocations: 489 kB / 1.455 GB, free: 49.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003689/2.885, allocations: 3.553 MB / 1.459 GB, free: 45.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/2.886, allocations: 335.7 kB / 1.459 GB, free: 45.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/2.886, allocations: 157.3 kB / 1.459 GB, free: 45.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/2.886, allocations: 0.6649 MB / 1.46 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/2.886, allocations: 34.56 kB / 1.46 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/2.886, allocations: 0 / 1.46 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0006688/2.887, allocations: 360.9 kB / 1.46 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/2.887, allocations: 59.41 kB / 1.46 GB, free: 43.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/2.888, allocations: 0.8161 MB / 1.461 GB, free: 42.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/2.888, allocations: 33.7 kB / 1.461 GB, free: 42.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/2.888, allocations: 0.5034 MB / 1.462 GB, free: 42.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/2.888, allocations: 106.5 kB / 1.462 GB, free: 42.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/2.888, allocations: 11.94 kB / 1.462 GB, free: 42.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/2.888, allocations: 334 kB / 1.462 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/2.889, allocations: 121.1 kB / 1.462 GB, free: 41.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/2.889, allocations: 335.3 kB / 1.462 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/2.889, allocations: 183.8 kB / 1.463 GB, free: 41.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/2.889, allocations: 4 kB / 1.463 GB, free: 41.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000659/2.89, allocations: 0.5269 MB / 1.463 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/2.89, allocations: 8 kB / 1.463 GB, free: 40.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/2.89, allocations: 4.688 kB / 1.463 GB, free: 40.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/2.89, allocations: 8 kB / 1.463 GB, free: 40.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/2.89, allocations: 123.8 kB / 1.463 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/2.89, allocations: 8 kB / 1.463 GB, free: 40.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/2.891, allocations: 111.2 kB / 1.463 GB, free: 40.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/2.891, allocations: 39.92 kB / 1.463 GB, free: 40.43 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.802e-05/2.891, allocations: 136.6 kB / 1.464 GB, free: 40.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/2.891, allocations: 102.7 kB / 1.464 GB, free: 40.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006825/2.892, allocations: 459.1 kB / 1.464 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/2.892, allocations: 4 kB / 1.464 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/2.892, allocations: 0 / 1.464 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003769/2.892, allocations: 409.5 kB / 1.464 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/2.894, allocations: 1.401 MB / 1.466 GB, free: 37.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/2.894, allocations: 3.984 kB / 1.466 GB, free: 37.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/2.894, allocations: 79.89 kB / 1.466 GB, free: 37.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/2.894, allocations: 4 kB / 1.466 GB, free: 37.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/2.894, allocations: 8.156 kB / 1.466 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/2.894, allocations: 8 kB / 1.466 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.894, allocations: 0 / 1.466 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/2.895, allocations: 0.7864 MB / 1.467 GB, free: 36.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/2.896, allocations: 243.8 kB / 1.467 GB, free: 36.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/2.896, allocations: 12 kB / 1.467 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/2.896, allocations: 63.94 kB / 1.467 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/2.896, allocations: 23.97 kB / 1.467 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/2.896, allocations: 19.98 kB / 1.467 GB, free: 36.49 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007207/2.897, allocations: 0.644 MB / 1.468 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.897, allocations: 0 / 1.468 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001183/2.898, allocations: 363.4 kB / 1.468 GB, free: 35.48 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/2.9, allocations: 0.5657 MB / 1.469 GB, free: 34.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007932/2.9, allocations: 351.6 kB / 1.469 GB, free: 34.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/2.9, allocations: 1.375 kB / 1.469 GB, free: 34.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/2.901, allocations: 171.8 kB / 1.469 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/2.904, allocations: 0.603 MB / 1.47 GB, free: 33.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/2.907, allocations: 1.222 MB / 1.471 GB, free: 32.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/2.907, allocations: 1.067 MB / 1.472 GB, free: 31.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009978/2.908, allocations: 200.5 kB / 1.472 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/2.909, allocations: 75.42 kB / 1.472 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.562e-06/2.909, allocations: 0 / 1.472 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of Templates: time 0.03365/2.942, allocations: 22.79 MB / 1.494 GB, free: 8.555 MB / 0.6823 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)