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.7817/0.7817, 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.001025/0.001025, allocations: 181.4 kB / 187.3 MB, free: 11.89 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.451/1.451, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.00091/0.00091, allocations: 98.95 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 279.2 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.21e-05, allocations: 15.94 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5249, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8927/1.418, allocations: 379.1 MB / 1.135 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.418, allocations: 95.45 kB / 1.135 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.965/3.382, allocations: 442.6 MB / 1.567 GB, free: 147.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/3.383, allocations: 0 / 1.567 GB, free: 147.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001021/3.383, allocations: 32.41 kB / 1.567 GB, free: 147.5 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00225/3.385, allocations: 1.25 MB / 1.568 GB, free: 146.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/3.385, allocations: 7.688 kB / 1.568 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/3.385, allocations: 130.1 kB / 1.568 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/3.41, allocations: 12.96 MB / 1.581 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/3.41, allocations: 55 kB / 1.581 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/3.41, allocations: 71.16 kB / 1.581 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/3.412, allocations: 0.7311 MB / 1.582 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/3.412, allocations: 1.594 kB / 1.582 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/3.412, allocations: 33.7 kB / 1.582 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/3.412, allocations: 18.69 kB / 1.582 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/3.413, allocations: 494.8 kB / 1.582 GB, free: 139.6 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.003841/3.416, allocations: 3.552 MB / 1.586 GB, free: 136.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/3.417, allocations: 339.5 kB / 1.586 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/3.417, allocations: 157.9 kB / 1.586 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004179/3.418, allocations: 0.6645 MB / 1.587 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/3.418, allocations: 41.34 kB / 1.587 GB, free: 135.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.046e-06/3.418, allocations: 0 / 1.587 GB, free: 135.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0006374/3.418, allocations: 364.2 kB / 1.587 GB, free: 135.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/3.418, allocations: 63.28 kB / 1.587 GB, free: 135.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008843/3.419, allocations: 0.8058 MB / 1.588 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/3.419, allocations: 39.7 kB / 1.588 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/3.42, allocations: 498.4 kB / 1.589 GB, free: 134.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/3.42, allocations: 119.7 kB / 1.589 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/3.42, allocations: 11.75 kB / 1.589 GB, free: 134.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/3.42, allocations: 321.4 kB / 1.589 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/3.42, allocations: 122.1 kB / 1.589 GB, free: 133.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/3.42, allocations: 343.9 kB / 1.589 GB, free: 133.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/3.42, allocations: 193.8 kB / 1.59 GB, free: 133.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/3.42, allocations: 3.312 kB / 1.59 GB, free: 133.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006711/3.421, allocations: 0.5232 MB / 1.59 GB, free: 133.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/3.421, allocations: 13.31 kB / 1.59 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/3.421, allocations: 3.938 kB / 1.59 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/3.421, allocations: 7.062 kB / 1.59 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/3.422, allocations: 114.8 kB / 1.59 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/3.422, allocations: 19.2 kB / 1.59 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/3.422, allocations: 111 kB / 1.59 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/3.422, allocations: 34.73 kB / 1.59 GB, free: 133.1 MB / 0.698 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 9.621e-05/3.423, allocations: 135.7 kB / 1.591 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/3.423, allocations: 99.78 kB / 1.591 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006883/3.423, allocations: 444.8 kB / 1.591 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/3.423, allocations: 3.781 kB / 1.591 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/3.423, allocations: 3.75 kB / 1.591 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004063/3.424, allocations: 412.3 kB / 1.592 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/3.425, allocations: 1.39 MB / 1.593 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/3.425, allocations: 0 / 1.593 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/3.426, allocations: 81.77 kB / 1.593 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/3.426, allocations: 7.172 kB / 1.593 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/3.426, allocations: 11.94 kB / 1.593 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/3.426, allocations: 3.969 kB / 1.593 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.426, allocations: 6.953 kB / 1.593 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007756/3.427, allocations: 0.7839 MB / 1.594 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/3.427, allocations: 241.7 kB / 1.594 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/3.427, allocations: 7.156 kB / 1.594 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/3.428, allocations: 63.69 kB / 1.594 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/3.428, allocations: 25.48 kB / 1.594 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/3.428, allocations: 21.08 kB / 1.594 GB, free: 130.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007103/3.428, allocations: 0.6411 MB / 1.595 GB, free: 130.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/3.428, allocations: 0 / 1.595 GB, free: 130.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001089/3.43, allocations: 363.4 kB / 1.595 GB, free: 130 MB / 0.698 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.0009446/3.431, allocations: 0.5651 MB / 1.596 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000516/3.431, allocations: 363.4 kB / 1.596 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/3.431, allocations: 3.031 kB / 1.596 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/3.431, allocations: 163.2 kB / 1.596 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/3.434, allocations: 0.6087 MB / 1.597 GB, free: 129.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/3.436, allocations: 1.202 MB / 1.598 GB, free: 128.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/3.437, allocations: 1.064 MB / 1.599 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008278/3.438, allocations: 205.6 kB / 1.599 GB, free: 127 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/3.438, allocations: 81.64 kB / 1.599 GB, free: 126.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/3.438, allocations: 0 / 1.599 GB, free: 126.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03627/3.474, allocations: 22.97 MB / 1.622 GB, free: 104.9 MB / 0.698 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)