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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001058/0.001058, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.504/0.504, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 87.95 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.742e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1749, allocations: 72.33 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.396, allocations: 371.3 MB / 0.9161 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.397, allocations: 89.08 kB / 0.9162 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.626/3.022, allocations: 441.8 MB / 1.348 GB, free: 94.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.545e-06/3.022, allocations: 4.625 kB / 1.348 GB, free: 94.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000104/3.022, allocations: 34.41 kB / 1.348 GB, free: 94.76 MB / 0.5886 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.002144/3.025, allocations: 1.236 MB / 1.349 GB, free: 94.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/3.025, allocations: 8.438 kB / 1.349 GB, free: 94.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/3.025, allocations: 138.3 kB / 1.349 GB, free: 94.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02417/3.049, allocations: 12.93 MB / 1.362 GB, free: 92.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/3.049, allocations: 26.69 kB / 1.362 GB, free: 92.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/3.049, allocations: 42.31 kB / 1.362 GB, free: 92.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/3.05, allocations: 455.1 kB / 1.362 GB, free: 91.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009809/3.051, allocations: 0.6249 MB / 1.363 GB, free: 91.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/3.051, allocations: 3.953 kB / 1.363 GB, free: 91.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/3.051, allocations: 7.75 kB / 1.363 GB, free: 91.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/3.051, allocations: 24.42 kB / 1.363 GB, free: 91.55 MB / 0.5886 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.003865/3.055, allocations: 3.381 MB / 1.366 GB, free: 89.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/3.056, allocations: 315.2 kB / 1.366 GB, free: 88.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/3.056, allocations: 155.6 kB / 1.367 GB, free: 88.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/3.057, allocations: 0.6655 MB / 1.367 GB, free: 88.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/3.057, allocations: 34.55 kB / 1.367 GB, free: 88.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/3.057, allocations: 2 kB / 1.367 GB, free: 88.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31): time 0.0008735/3.058, allocations: 348.8 kB / 1.368 GB, free: 87.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/3.058, allocations: 55.94 kB / 1.368 GB, free: 87.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007888/3.058, allocations: 0.6425 MB / 1.368 GB, free: 87.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/3.058, allocations: 31.86 kB / 1.368 GB, free: 87.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/3.059, allocations: 0.4982 MB / 1.369 GB, free: 87.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/3.059, allocations: 109.6 kB / 1.369 GB, free: 87.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/3.059, allocations: 0 / 1.369 GB, free: 87.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/3.059, allocations: 325.6 kB / 1.369 GB, free: 86.77 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/3.059, allocations: 112.4 kB / 1.369 GB, free: 86.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/3.059, allocations: 320.5 kB / 1.37 GB, free: 86.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/3.06, allocations: 194.8 kB / 1.37 GB, free: 86.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/3.06, allocations: 3.938 kB / 1.37 GB, free: 86.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006852/3.06, allocations: 492.8 kB / 1.37 GB, free: 86.19 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/3.061, allocations: 6.562 kB / 1.37 GB, free: 86.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/3.061, allocations: 7.719 kB / 1.37 GB, free: 86.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/3.061, allocations: 7.844 kB / 1.37 GB, free: 86.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/3.061, allocations: 117.6 kB / 1.37 GB, free: 86.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/3.061, allocations: 13.72 kB / 1.37 GB, free: 86.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/3.062, allocations: 83.59 kB / 1.37 GB, free: 86.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/3.062, allocations: 29.91 kB / 1.371 GB, free: 86.14 MB / 0.5886 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 0.0001085/3.062, allocations: 119.6 kB / 1.371 GB, free: 86.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/3.062, allocations: 97.66 kB / 1.371 GB, free: 85.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007186/3.063, allocations: 399.7 kB / 1.371 GB, free: 85.81 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/3.063, allocations: 9.062 kB / 1.371 GB, free: 85.81 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/3.063, allocations: 3 kB / 1.371 GB, free: 85.81 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004655/3.063, allocations: 399.1 kB / 1.371 GB, free: 85.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/3.065, allocations: 1.278 MB / 1.373 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/3.065, allocations: 3.906 kB / 1.373 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/3.065, allocations: 79.56 kB / 1.373 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/3.065, allocations: 6.094 kB / 1.373 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/3.065, allocations: 10.09 kB / 1.373 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/3.065, allocations: 0 / 1.373 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/3.065, allocations: 7.828 kB / 1.373 GB, free: 84.83 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/3.066, allocations: 0.7334 MB / 1.374 GB, free: 84.37 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/3.066, allocations: 231.2 kB / 1.374 GB, free: 84.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.075e-05/3.066, allocations: 0 / 1.374 GB, free: 84.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/3.067, allocations: 53.52 kB / 1.374 GB, free: 84.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/3.067, allocations: 31.7 kB / 1.374 GB, free: 84.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/3.067, allocations: 17.7 kB / 1.374 GB, free: 84.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000514/3.068, allocations: 0.4918 MB / 1.374 GB, free: 83.94 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.503e-06/3.068, allocations: 0 / 1.374 GB, free: 83.94 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001054/3.069, allocations: 361.8 kB / 1.375 GB, free: 83.85 MB / 0.5886 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.000899/3.07, allocations: 0.5618 MB / 1.375 GB, free: 83.67 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004666/3.07, allocations: 338.6 kB / 1.376 GB, free: 83.55 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/3.07, allocations: 0 / 1.376 GB, free: 83.55 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/3.07, allocations: 159.4 kB / 1.376 GB, free: 83.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/3.072, allocations: 472.8 kB / 1.376 GB, free: 83.42 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/3.074, allocations: 1.173 MB / 1.377 GB, free: 82.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/3.075, allocations: 1.06 MB / 1.378 GB, free: 82.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006502/3.076, allocations: 180.7 kB / 1.379 GB, free: 82.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/3.076, allocations: 74.86 kB / 1.379 GB, free: 82.12 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/3.076, allocations: 0 / 1.379 GB, free: 82.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.02756/3.103, allocations: 16.88 MB / 1.395 GB, free: 75.12 MB / 0.5886 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)