Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8321/0.8321, allocations: 143.4 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 177 kB / 191.5 MB, free: 5.758 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.694/1.694, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.001026/0.001026, allocations: 80.39 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 272.1 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004488, allocations: 14.62 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1963, allocations: 82.8 MB / 0.7737 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9454/1.142, allocations: 379.2 MB / 1.144 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.142, allocations: 102.3 kB / 1.144 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.719/2.861, allocations: 443.9 MB / 1.578 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.385e-06/2.861, allocations: 0 / 1.578 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001351/2.861, allocations: 29.78 kB / 1.578 GB, free: 149.5 MB / 0.7136 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.0031/2.864, allocations: 1.453 MB / 1.579 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/2.864, allocations: 14.73 kB / 1.579 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/2.865, allocations: 129.8 kB / 1.579 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/2.89, allocations: 13.03 MB / 1.592 GB, free: 139 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/2.89, allocations: 64.45 kB / 1.592 GB, free: 139 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/2.89, allocations: 68 kB / 1.592 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/2.891, allocations: 0.7765 MB / 1.593 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/2.891, allocations: 6.984 kB / 1.593 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/2.891, allocations: 28 kB / 1.593 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/2.891, allocations: 20 kB / 1.593 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/2.892, allocations: 0.5592 MB / 1.593 GB, free: 137.5 MB / 0.7136 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.00397/2.896, allocations: 3.553 MB / 1.597 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/2.897, allocations: 368 kB / 1.597 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004348/2.897, allocations: 0.6609 MB / 1.598 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/2.897, allocations: 41.59 kB / 1.598 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/2.897, allocations: 0 / 1.598 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001087/2.898, allocations: 0.5609 MB / 1.599 GB, free: 132 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/2.898, allocations: 55.41 kB / 1.599 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/2.899, allocations: 0.8186 MB / 1.599 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/2.899, allocations: 33.7 kB / 1.599 GB, free: 131 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/2.9, allocations: 0.494 MB / 1.6 GB, free: 130.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.975e-05/2.9, allocations: 108.9 kB / 1.6 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/2.9, allocations: 12 kB / 1.6 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/2.9, allocations: 329.9 kB / 1.6 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/2.9, allocations: 163.3 kB / 1.6 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/2.901, allocations: 389.3 kB / 1.601 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/2.901, allocations: 221 kB / 1.601 GB, free: 129.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.901, allocations: 0 / 1.601 GB, free: 129.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009964/2.902, allocations: 0.5985 MB / 1.602 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/2.902, allocations: 8 kB / 1.602 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/2.902, allocations: 4 kB / 1.602 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/2.902, allocations: 8 kB / 1.602 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/2.902, allocations: 122.6 kB / 1.602 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/2.902, allocations: 7.938 kB / 1.602 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/2.903, allocations: 117.8 kB / 1.602 GB, free: 128.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/2.903, allocations: 26.53 kB / 1.602 GB, free: 128.4 MB / 0.7136 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.0003856/2.904, allocations: 281.6 kB / 1.602 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/2.904, allocations: 94.88 kB / 1.602 GB, free: 128 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/2.905, allocations: 0.518 MB / 1.603 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/2.905, allocations: 4 kB / 1.603 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.905, allocations: 0 / 1.603 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006379/2.905, allocations: 483.9 kB / 1.603 GB, free: 127 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/2.908, allocations: 1.458 MB / 1.605 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.908, allocations: 4 kB / 1.605 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/2.908, allocations: 86.56 kB / 1.605 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/2.908, allocations: 4 kB / 1.605 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/2.908, allocations: 8 kB / 1.605 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/2.908, allocations: 15.2 kB / 1.605 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/2.908, allocations: 0 / 1.605 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/2.909, allocations: 0.8879 MB / 1.606 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/2.91, allocations: 247.7 kB / 1.606 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/2.91, allocations: 8 kB / 1.606 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/2.91, allocations: 59.81 kB / 1.606 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/2.91, allocations: 30.73 kB / 1.606 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/2.91, allocations: 19.98 kB / 1.606 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007229/2.911, allocations: 0.6469 MB / 1.607 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/2.911, allocations: 3.719 kB / 1.607 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001226/2.912, allocations: 371.4 kB / 1.607 GB, free: 123 MB / 0.7136 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.001029/2.913, allocations: 0.5611 MB / 1.608 GB, free: 122.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008769/2.914, allocations: 424.6 kB / 1.608 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.914, allocations: 0 / 1.608 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/2.915, allocations: 203.8 kB / 1.608 GB, free: 122 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/2.917, allocations: 0.6191 MB / 1.609 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/2.92, allocations: 1.964 MB / 1.611 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/2.92, allocations: 1.064 MB / 1.612 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008633/2.921, allocations: 196.2 kB / 1.612 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/2.921, allocations: 79.42 kB / 1.612 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/2.921, allocations: 0 / 1.612 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.03637/2.958, allocations: 22.44 MB / 1.634 GB, free: 96.66 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)