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.8127/0.8127, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001314/0.001315, allocations: 179.8 kB / 182.2 MB, free: 9.441 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.511/1.511, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008732/0.000873, allocations: 96.11 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 278.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.025e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4682, allocations: 82.79 MB / 0.7574 GB, free: 31.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8967/1.365, allocations: 385 MB / 1.133 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.365, allocations: 92.08 kB / 1.133 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.843/4.209, allocations: 0.8046 GB / 1.938 GB, free: 37.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/4.209, allocations: 0 / 1.938 GB, free: 37.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001845/4.209, allocations: 59.12 kB / 1.938 GB, free: 37.21 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.003968/4.213, allocations: 2.156 MB / 1.94 GB, free: 35.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/4.213, allocations: 12.03 kB / 1.94 GB, free: 35.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/4.214, allocations: 261.1 kB / 1.94 GB, free: 34.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04477/4.258, allocations: 24.61 MB / 1.965 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/4.258, allocations: 44 kB / 1.965 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/4.259, allocations: 87.98 kB / 1.965 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00156/4.26, allocations: 0.8683 MB / 1.965 GB, free: 9.066 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/4.262, allocations: 1.191 MB / 1.967 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/4.262, allocations: 7.938 kB / 1.967 GB, free: 7.793 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/4.262, allocations: 7.984 kB / 1.967 GB, free: 7.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/4.262, allocations: 38.44 kB / 1.967 GB, free: 7.75 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.007228/4.269, allocations: 7.262 MB / 1.974 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/4.27, allocations: 420.2 kB / 1.974 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/4.27, allocations: 276.2 kB / 1.974 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/4.272, allocations: 1.152 MB / 1.976 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/4.272, allocations: 47.16 kB / 1.976 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.845e-06/4.272, allocations: 0 / 1.976 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.001497/4.273, allocations: 0.618 MB / 1.976 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/4.273, allocations: 59.97 kB / 1.976 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/4.275, allocations: 1.197 MB / 1.977 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-05/4.275, allocations: 25.7 kB / 1.977 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/4.276, allocations: 0.9338 MB / 1.978 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/4.276, allocations: 212.9 kB / 1.979 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/4.276, allocations: 3.938 kB / 1.979 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001456/4.276, allocations: 341.9 kB / 1.979 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/4.277, allocations: 216.4 kB / 1.979 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/4.277, allocations: 0.5833 MB / 1.98 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/4.278, allocations: 349.9 kB / 1.98 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/4.278, allocations: 8 kB / 1.98 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001625/4.28, allocations: 0.888 MB / 1.981 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/4.28, allocations: 12.22 kB / 1.981 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/4.28, allocations: 12 kB / 1.981 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/4.28, allocations: 16 kB / 1.981 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/4.281, allocations: 231.6 kB / 1.981 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/4.281, allocations: 19.89 kB / 1.981 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/4.282, allocations: 166.9 kB / 1.981 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/4.282, allocations: 55.98 kB / 1.981 GB, free: 7.645 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.0001895/4.282, allocations: 133.5 kB / 1.982 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/4.283, allocations: 165.9 kB / 1.982 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/4.284, allocations: 0.7301 MB / 1.982 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/4.284, allocations: 12 kB / 1.982 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/4.284, allocations: 0 / 1.982 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009506/4.285, allocations: 0.6857 MB / 1.983 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/4.289, allocations: 2.152 MB / 1.985 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/4.289, allocations: 3.953 kB / 1.985 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/4.29, allocations: 184 kB / 1.985 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/4.29, allocations: 4 kB / 1.985 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/4.29, allocations: 11.98 kB / 1.985 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/4.29, allocations: 4 kB / 1.985 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/4.29, allocations: 7.938 kB / 1.985 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/4.293, allocations: 1.288 MB / 1.987 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/4.294, allocations: 370.8 kB / 1.987 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/4.294, allocations: 4 kB / 1.987 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/4.295, allocations: 115.7 kB / 1.987 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/4.295, allocations: 48.45 kB / 1.987 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/4.295, allocations: 39.97 kB / 1.987 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001863/4.297, allocations: 0.8909 MB / 1.988 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/4.297, allocations: 4 kB / 1.988 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.6019/4.899, allocations: 0.6951 MB / 1.989 GB, free: 79.19 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.002754/4.902, allocations: 0.9515 MB / 1.99 GB, free: 79.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001609/4.903, allocations: 0.6097 MB / 1.99 GB, free: 79.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/4.903, allocations: 4.469 kB / 1.99 GB, free: 79.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005609/4.904, allocations: 299.1 kB / 1.991 GB, free: 79.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00609/4.91, allocations: 0.9525 MB / 1.991 GB, free: 79.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/4.915, allocations: 2.309 MB / 1.994 GB, free: 78.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/4.917, allocations: 1.443 MB / 1.995 GB, free: 77.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002001/4.919, allocations: 350.1 kB / 1.995 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/4.919, allocations: 127.7 kB / 1.996 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of SimCode: time 1.292e-06/4.919, allocations: 0 / 1.996 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.0568/4.976, allocations: 32.84 MB / 2.028 GB, free: 76.13 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)