Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7799/0.7799, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 184.7 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009465, allocations: 96.8 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 271.3 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.7e-05/4.703e-05, allocations: 7.938 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.5468, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8916/1.438, allocations: 385.7 MB / 1.141 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.439, allocations: 97.81 kB / 1.141 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.158/4.597, allocations: 0.8092 GB / 1.95 GB, free: 30.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/4.597, allocations: 4 kB / 1.95 GB, free: 30.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001853/4.597, allocations: 55.98 kB / 1.95 GB, free: 30.67 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00416/4.601, allocations: 2.159 MB / 1.952 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/4.601, allocations: 12.03 kB / 1.952 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/4.602, allocations: 265.1 kB / 1.953 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04559/4.648, allocations: 24.67 MB / 1.977 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/4.648, allocations: 106.7 kB / 1.977 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/4.648, allocations: 144 kB / 1.977 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/4.65, allocations: 1.392 MB / 1.978 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/4.65, allocations: 7.938 kB / 1.978 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/4.65, allocations: 58.62 kB / 1.978 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/4.651, allocations: 43.98 kB / 1.978 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/4.652, allocations: 0.9511 MB / 1.979 GB, free: 0.5781 MB / 0.698 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.00944/4.661, allocations: 7.57 MB / 1.987 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008229/4.662, allocations: 440.7 kB / 1.987 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/4.663, allocations: 291.4 kB / 1.987 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00098/4.664, allocations: 1.16 MB / 1.989 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/4.664, allocations: 43.12 kB / 1.989 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.374e-06/4.664, allocations: 0 / 1.989 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.001432/4.665, allocations: 0.653 MB / 1.989 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/4.665, allocations: 55.97 kB / 1.989 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/4.668, allocations: 1.511 MB / 1.991 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/4.668, allocations: 45.7 kB / 1.991 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008164/4.669, allocations: 0.9318 MB / 1.992 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/4.669, allocations: 216.9 kB / 1.992 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/4.669, allocations: 20 kB / 1.992 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001462/4.669, allocations: 344.7 kB / 1.992 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/4.669, allocations: 234 kB / 1.993 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/4.67, allocations: 0.6053 MB / 1.993 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/4.671, allocations: 349.1 kB / 1.993 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/4.671, allocations: 4 kB / 1.993 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001688/4.672, allocations: 0.9892 MB / 1.994 GB, free: 48 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/4.672, allocations: 11.98 kB / 1.994 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/4.672, allocations: 12 kB / 1.994 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/4.672, allocations: 19.95 kB / 1.994 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5685/5.241, allocations: 217.3 kB / 1.995 GB, free: 74.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.931e-05/5.241, allocations: 25.81 kB / 1.995 GB, free: 74.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/5.243, allocations: 234.2 kB / 1.995 GB, free: 74.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/5.244, allocations: 49.2 kB / 1.995 GB, free: 74.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0002583/5.244, allocations: 168.1 kB / 1.995 GB, free: 74.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/5.244, allocations: 192.3 kB / 1.995 GB, free: 74.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/5.246, allocations: 0.7864 MB / 1.996 GB, free: 74.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/5.246, allocations: 7.625 kB / 1.996 GB, free: 74.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/5.246, allocations: 3.781 kB / 1.996 GB, free: 74.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009812/5.247, allocations: 0.7049 MB / 1.997 GB, free: 74.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/5.252, allocations: 2.369 MB / 1.999 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/5.252, allocations: 4.719 kB / 1.999 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/5.253, allocations: 183.5 kB / 1.999 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/5.253, allocations: 8.406 kB / 1.999 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/5.253, allocations: 15.25 kB / 1.999 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/5.253, allocations: 12.47 kB / 1.999 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/5.253, allocations: 2.344 kB / 1.999 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/5.256, allocations: 1.381 MB / 2.001 GB, free: 73.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/5.257, allocations: 404.5 kB / 2.001 GB, free: 72.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/5.257, allocations: 12.81 kB / 2.001 GB, free: 72.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/5.258, allocations: 132.6 kB / 2.001 GB, free: 72.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/5.258, allocations: 60.86 kB / 2.001 GB, free: 72.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/5.258, allocations: 36.22 kB / 2.001 GB, free: 72.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001805/5.26, allocations: 1.2 MB / 2.002 GB, free: 72.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/5.26, allocations: 0 / 2.002 GB, free: 72.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002428/5.263, allocations: 0.6936 MB / 2.003 GB, free: 72.75 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001802/5.264, allocations: 0.9688 MB / 2.004 GB, free: 72.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001213/5.266, allocations: 0.6506 MB / 2.005 GB, free: 72.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/5.266, allocations: 0 / 2.005 GB, free: 72.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/5.266, allocations: 316 kB / 2.005 GB, free: 72.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006818/5.273, allocations: 1.246 MB / 2.006 GB, free: 72.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/5.278, allocations: 2.393 MB / 2.009 GB, free: 71.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/5.279, allocations: 1.444 MB / 2.01 GB, free: 71.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001915/5.281, allocations: 390.7 kB / 2.01 GB, free: 71.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/5.281, allocations: 146.6 kB / 2.011 GB, free: 71.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/5.281, allocations: 0 / 2.011 GB, free: 71.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.06853/5.35, allocations: 44.73 MB / 2.054 GB, free: 68.99 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)