Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001274/0.001274, allocations: 169 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4687/0.4687, allocations: 86.28 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 348.4 MB, free: 5.039 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008585/0.0008583, allocations: 97.69 kB / 420.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004624, allocations: 12 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4025, allocations: 71.02 MB / 0.5595 GB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7245/1.127, allocations: 369.7 MB / 0.9205 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.127, allocations: 98.86 kB / 0.9206 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.493/2.621, allocations: 440.9 MB / 1.351 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/2.621, allocations: 4 kB / 1.351 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001759/2.621, allocations: 27.98 kB / 1.351 GB, free: 63.69 MB / 0.6042 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.004216/2.625, allocations: 1.45 MB / 1.353 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/2.625, allocations: 8.031 kB / 1.353 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007583/2.626, allocations: 131.4 kB / 1.353 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02325/2.649, allocations: 12 MB / 1.364 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/2.649, allocations: 54.38 kB / 1.364 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/2.65, allocations: 76.38 kB / 1.365 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/2.651, allocations: 0.7756 MB / 1.365 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/2.651, allocations: 11.81 kB / 1.365 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/2.651, allocations: 32 kB / 1.365 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/2.651, allocations: 16 kB / 1.365 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/2.653, allocations: 0.5594 MB / 1.366 GB, free: 48.34 MB / 0.6042 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.004709/2.657, allocations: 3.541 MB / 1.369 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/2.658, allocations: 371.5 kB / 1.37 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/2.658, allocations: 197.3 kB / 1.37 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000418/2.659, allocations: 0.6609 MB / 1.371 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/2.659, allocations: 46.44 kB / 1.371 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.797e-06/2.659, allocations: 0 / 1.371 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001218/2.66, allocations: 0.5626 MB / 1.371 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/2.66, allocations: 51.41 kB / 1.371 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/2.661, allocations: 0.9137 MB / 1.372 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/2.661, allocations: 33.7 kB / 1.372 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/2.662, allocations: 0.4957 MB / 1.373 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/2.662, allocations: 110.4 kB / 1.373 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/2.662, allocations: 8 kB / 1.373 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/2.662, allocations: 334 kB / 1.373 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/2.662, allocations: 161 kB / 1.373 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/2.663, allocations: 380.9 kB / 1.374 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/2.663, allocations: 0.5122 MB / 1.374 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/2.663, allocations: 4 kB / 1.374 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009936/2.664, allocations: 0.6012 MB / 1.375 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/2.664, allocations: 8 kB / 1.375 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/2.664, allocations: 8 kB / 1.375 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/2.664, allocations: 8 kB / 1.375 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/2.665, allocations: 120.2 kB / 1.375 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/2.665, allocations: 8 kB / 1.375 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/2.666, allocations: 111.2 kB / 1.375 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/2.666, allocations: 24 kB / 1.375 GB, free: 38.46 MB / 0.6042 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 (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 0.0004149/2.666, allocations: 277.6 kB / 1.375 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/2.666, allocations: 102.7 kB / 1.375 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008473/2.667, allocations: 0.5118 MB / 1.376 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/2.667, allocations: 7.984 kB / 1.376 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.667, allocations: 0 / 1.376 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005677/2.668, allocations: 481.2 kB / 1.376 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/2.669, allocations: 1.449 MB / 1.378 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/2.669, allocations: 8.031 kB / 1.378 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/2.67, allocations: 79.2 kB / 1.378 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/2.67, allocations: 4 kB / 1.378 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/2.67, allocations: 11.98 kB / 1.378 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/2.67, allocations: 7.938 kB / 1.378 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/2.67, allocations: 0 / 1.378 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/2.671, allocations: 0.8363 MB / 1.379 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/2.671, allocations: 239.8 kB / 1.379 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/2.671, allocations: 8 kB / 1.379 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/2.672, allocations: 55.94 kB / 1.379 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/2.672, allocations: 31.91 kB / 1.379 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/2.672, allocations: 19.98 kB / 1.379 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000743/2.673, allocations: 0.6313 MB / 1.38 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.062e-06/2.673, allocations: 0 / 1.38 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001081/2.674, allocations: 367.3 kB / 1.38 GB, free: 33.18 MB / 0.6042 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 (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.0008604/2.675, allocations: 0.5515 MB / 1.38 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007477/2.675, allocations: 420.5 kB / 1.381 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.675, allocations: 384 / 1.381 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/2.676, allocations: 212 kB / 1.381 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/2.678, allocations: 0.6098 MB / 1.382 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/2.681, allocations: 1.953 MB / 1.384 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/2.681, allocations: 1.036 MB / 1.385 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007819/2.682, allocations: 207.6 kB / 1.385 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/2.682, allocations: 83.41 kB / 1.385 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.243e-06/2.682, allocations: 0 / 1.385 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.03471/2.717, allocations: 22.66 MB / 1.407 GB, free: 5.641 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)