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.001391/0.001391, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.494/0.494, allocations: 90.81 MB / 104.5 MB, free: 13.93 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.48/1.48, allocations: 221.3 MB / 348.3 MB, free: 12.57 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.0009113/0.0009115, allocations: 99.58 kB / 421.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.553e-05, allocations: 5.562 kB / 0.4896 GB, free: 46.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 72.31 MB / 0.5602 GB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.178, allocations: 371.9 MB / 0.9235 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.178, allocations: 98.31 kB / 0.9236 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.528/2.707, allocations: 444.3 MB / 1.357 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/2.707, allocations: 0 / 1.357 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001486/2.707, allocations: 27.88 kB / 1.357 GB, free: 102.6 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.002706/2.71, allocations: 1.251 MB / 1.359 GB, free: 102 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/2.71, allocations: 11.45 kB / 1.359 GB, free: 102 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005515/2.71, allocations: 135.3 kB / 1.359 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0243/2.735, allocations: 12.97 MB / 1.371 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/2.735, allocations: 56.62 kB / 1.372 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/2.735, allocations: 74.62 kB / 1.372 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/2.736, allocations: 0.724 MB / 1.372 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/2.736, allocations: 0 / 1.372 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/2.736, allocations: 34.42 kB / 1.372 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/2.736, allocations: 26.88 kB / 1.372 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/2.737, allocations: 496.6 kB / 1.373 GB, free: 101.1 MB / 0.6042 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.004232/2.742, allocations: 3.546 MB / 1.376 GB, free: 99.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/2.742, allocations: 337.4 kB / 1.377 GB, free: 99.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/2.742, allocations: 157.8 kB / 1.377 GB, free: 99.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000418/2.743, allocations: 0.6614 MB / 1.377 GB, free: 98.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/2.743, allocations: 40.41 kB / 1.377 GB, free: 98.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/2.743, allocations: 0 / 1.377 GB, free: 98.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0007133/2.743, allocations: 369.6 kB / 1.378 GB, free: 98.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/2.743, allocations: 54.66 kB / 1.378 GB, free: 98.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/2.745, allocations: 0.8098 MB / 1.379 GB, free: 98.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/2.745, allocations: 38.83 kB / 1.379 GB, free: 98.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/2.745, allocations: 0.5038 MB / 1.379 GB, free: 97.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/2.745, allocations: 106.9 kB / 1.379 GB, free: 97.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/2.745, allocations: 14.25 kB / 1.379 GB, free: 97.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/2.745, allocations: 329.1 kB / 1.38 GB, free: 97.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/2.745, allocations: 120.2 kB / 1.38 GB, free: 97.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/2.746, allocations: 338.4 kB / 1.38 GB, free: 97.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/2.746, allocations: 177.8 kB / 1.38 GB, free: 97.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/2.746, allocations: 3.719 kB / 1.38 GB, free: 97.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007701/2.747, allocations: 0.5306 MB / 1.381 GB, free: 97.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/2.747, allocations: 8.375 kB / 1.381 GB, free: 97.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/2.747, allocations: 6.875 kB / 1.381 GB, free: 97.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/2.747, allocations: 11.5 kB / 1.381 GB, free: 97.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/2.747, allocations: 118.5 kB / 1.381 GB, free: 97.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/2.747, allocations: 9.375 kB / 1.381 GB, free: 97.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/2.748, allocations: 113.6 kB / 1.381 GB, free: 97.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/2.748, allocations: 26.59 kB / 1.381 GB, free: 97.1 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 () * 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.0001138/2.748, allocations: 141.5 kB / 1.381 GB, free: 96.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/2.748, allocations: 104.1 kB / 1.381 GB, free: 96.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006321/2.749, allocations: 447.2 kB / 1.382 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/2.749, allocations: 7.391 kB / 1.382 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/2.749, allocations: 0 / 1.382 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003803/2.749, allocations: 419 kB / 1.382 GB, free: 96.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/2.751, allocations: 1.391 MB / 1.383 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/2.751, allocations: 5.438 kB / 1.383 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/2.751, allocations: 85.27 kB / 1.384 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/2.751, allocations: 3.875 kB / 1.384 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/2.751, allocations: 10.84 kB / 1.384 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/2.751, allocations: 3.906 kB / 1.384 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.751, allocations: 6.812 kB / 1.384 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/2.752, allocations: 0.7772 MB / 1.384 GB, free: 95.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/2.753, allocations: 249.9 kB / 1.385 GB, free: 95.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/2.753, allocations: 7.375 kB / 1.385 GB, free: 95.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/2.753, allocations: 58.34 kB / 1.385 GB, free: 95.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/2.753, allocations: 21.94 kB / 1.385 GB, free: 95.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/2.753, allocations: 27.19 kB / 1.385 GB, free: 95.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006929/2.754, allocations: 0.6431 MB / 1.385 GB, free: 95.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/2.754, allocations: 3.469 kB / 1.385 GB, free: 95.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009698/2.755, allocations: 370.5 kB / 1.386 GB, free: 95.51 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 () * 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.0007681/2.756, allocations: 0.5617 MB / 1.386 GB, free: 95.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004851/2.756, allocations: 352.4 kB / 1.387 GB, free: 95.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.756, allocations: 0 / 1.387 GB, free: 95.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/2.757, allocations: 173.4 kB / 1.387 GB, free: 95.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/2.759, allocations: 0.6041 MB / 1.387 GB, free: 95.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/2.761, allocations: 1.213 MB / 1.388 GB, free: 94.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/2.761, allocations: 1.064 MB / 1.39 GB, free: 93.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006845/2.762, allocations: 201.8 kB / 1.39 GB, free: 93.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/2.762, allocations: 77.48 kB / 1.39 GB, free: 93.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/2.762, allocations: 0 / 1.39 GB, free: 93.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.03127/2.793, allocations: 22.78 MB / 1.412 GB, free: 89.89 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)