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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, 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-master/package.mo): time 0.7606/0.7606, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.517/1.517, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.001187/0.001187, allocations: 97.88 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.636e-05/4.638e-05, allocations: 3.375 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1823, allocations: 82.31 MB / 0.6404 GB, free: 7.852 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.471, allocations: 381.6 MB / 1.013 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.471, allocations: 93.73 kB / 1.013 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.287/2.758, allocations: 442.9 MB / 1.446 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/2.758, allocations: 0 / 1.446 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001044/2.759, allocations: 27.98 kB / 1.446 GB, free: 66.18 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.002132/2.761, allocations: 1.252 MB / 1.447 GB, free: 64.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/2.761, allocations: 8.031 kB / 1.447 GB, free: 64.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/2.761, allocations: 142.4 kB / 1.447 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02321/2.784, allocations: 12.97 MB / 1.46 GB, free: 51.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/2.784, allocations: 54 kB / 1.46 GB, free: 51.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/2.785, allocations: 72 kB / 1.46 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/2.786, allocations: 0.7243 MB / 1.461 GB, free: 50.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/2.786, allocations: 4 kB / 1.461 GB, free: 50.69 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/2.786, allocations: 31.94 kB / 1.461 GB, free: 50.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/2.786, allocations: 23.98 kB / 1.461 GB, free: 50.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/2.787, allocations: 497 kB / 1.461 GB, free: 50.15 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.003455/2.79, allocations: 3.548 MB / 1.465 GB, free: 46.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/2.79, allocations: 329.3 kB / 1.465 GB, free: 46.03 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/2.791, allocations: 163 kB / 1.465 GB, free: 45.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/2.791, allocations: 0.6687 MB / 1.466 GB, free: 45.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/2.791, allocations: 46.5 kB / 1.466 GB, free: 45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.866e-06/2.791, allocations: 0 / 1.466 GB, free: 45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0005719/2.792, allocations: 368.3 kB / 1.466 GB, free: 44.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/2.792, allocations: 51.41 kB / 1.466 GB, free: 44.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008294/2.793, allocations: 0.8161 MB / 1.467 GB, free: 43.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/2.793, allocations: 33.7 kB / 1.467 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/2.793, allocations: 0.5034 MB / 1.467 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/2.793, allocations: 110.4 kB / 1.468 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/2.793, allocations: 12 kB / 1.468 GB, free: 43.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/2.793, allocations: 326 kB / 1.468 GB, free: 42.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/2.793, allocations: 125.1 kB / 1.468 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/2.793, allocations: 335.3 kB / 1.468 GB, free: 42.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/2.794, allocations: 183.8 kB / 1.468 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.794, allocations: 0 / 1.468 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000614/2.794, allocations: 0.5231 MB / 1.469 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/2.794, allocations: 11.95 kB / 1.469 GB, free: 41.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/2.794, allocations: 4.688 kB / 1.469 GB, free: 41.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/2.794, allocations: 12 kB / 1.469 GB, free: 41.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/2.795, allocations: 119.8 kB / 1.469 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/2.795, allocations: 11.94 kB / 1.469 GB, free: 41.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/2.795, allocations: 111.2 kB / 1.469 GB, free: 41.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/2.796, allocations: 28 kB / 1.469 GB, free: 41.19 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.352e-05/2.796, allocations: 136.8 kB / 1.469 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/2.796, allocations: 102.8 kB / 1.47 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/2.796, allocations: 459.1 kB / 1.47 GB, free: 40.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/2.796, allocations: 4 kB / 1.47 GB, free: 40.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/2.796, allocations: 0 / 1.47 GB, free: 40.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000376/2.797, allocations: 413.5 kB / 1.47 GB, free: 40.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/2.798, allocations: 1.389 MB / 1.472 GB, free: 38.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.798, allocations: 3.938 kB / 1.472 GB, free: 38.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/2.799, allocations: 87.88 kB / 1.472 GB, free: 38.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/2.799, allocations: 4.094 kB / 1.472 GB, free: 38.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/2.799, allocations: 12 kB / 1.472 GB, free: 38.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/2.799, allocations: 4 kB / 1.472 GB, free: 38.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/2.799, allocations: 0 / 1.472 GB, free: 38.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/2.799, allocations: 0.7903 MB / 1.473 GB, free: 37.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/2.8, allocations: 239.8 kB / 1.473 GB, free: 37.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/2.8, allocations: 12 kB / 1.473 GB, free: 37.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/2.8, allocations: 55.95 kB / 1.473 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/2.8, allocations: 31.95 kB / 1.473 GB, free: 37.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/2.8, allocations: 19.98 kB / 1.473 GB, free: 37.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006629/2.801, allocations: 0.644 MB / 1.474 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/2.801, allocations: 0 / 1.474 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009954/2.802, allocations: 363.4 kB / 1.474 GB, free: 36.24 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.0008643/2.803, allocations: 0.5602 MB / 1.474 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004764/2.803, allocations: 347.5 kB / 1.475 GB, free: 35.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/2.804, allocations: 5.375 kB / 1.475 GB, free: 35.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/2.804, allocations: 172 kB / 1.475 GB, free: 35.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/2.806, allocations: 0.6044 MB / 1.476 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/2.808, allocations: 1.214 MB / 1.477 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/2.808, allocations: 1.063 MB / 1.478 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006805/2.809, allocations: 208.4 kB / 1.478 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/2.809, allocations: 83.41 kB / 1.478 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/2.809, allocations: 0 / 1.478 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.03291/2.842, allocations: 22.79 MB / 1.5 GB, free: 9.34 MB / 0.6823 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)