Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 184.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008624/0.0008623, allocations: 90.52 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.93e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8146, allocations: 116.3 MB / 0.9732 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.966, allocations: 407.6 MB / 1.371 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.967, allocations: 89.77 kB / 1.371 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.373/3.34, allocations: 431.8 MB / 1.793 GB, free: 203.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/3.34, allocations: 0 / 1.793 GB, free: 203.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001672/3.34, allocations: 24 kB / 1.793 GB, free: 203.8 MB / 0.948 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.003462/3.344, allocations: 1.255 MB / 1.794 GB, free: 202.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/3.344, allocations: 8.031 kB / 1.794 GB, free: 202.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/3.344, allocations: 135.3 kB / 1.794 GB, free: 202.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02384/3.368, allocations: 12.64 MB / 1.807 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/3.368, allocations: 24 kB / 1.807 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/3.368, allocations: 44 kB / 1.807 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008247/3.369, allocations: 451.1 kB / 1.807 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/3.37, allocations: 0.6266 MB / 1.808 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/3.37, allocations: 3.906 kB / 1.808 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/3.37, allocations: 0 / 1.808 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/3.37, allocations: 24 kB / 1.808 GB, free: 188.5 MB / 0.948 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.003259/3.374, allocations: 3.387 MB / 1.811 GB, free: 185 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/3.374, allocations: 315.8 kB / 1.811 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/3.374, allocations: 151.4 kB / 1.812 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004067/3.375, allocations: 0.6604 MB / 1.812 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/3.375, allocations: 38.56 kB / 1.812 GB, free: 183.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.684e-06/3.375, allocations: 0 / 1.812 GB, free: 183.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0006821/3.375, allocations: 349.5 kB / 1.813 GB, free: 183.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/3.375, allocations: 63.34 kB / 1.813 GB, free: 183.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/3.376, allocations: 0.6414 MB / 1.813 GB, free: 182.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/3.376, allocations: 25.7 kB / 1.813 GB, free: 182.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/3.376, allocations: 0.5105 MB / 1.814 GB, free: 182 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/3.376, allocations: 102.5 kB / 1.814 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/3.376, allocations: 0 / 1.814 GB, free: 181.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/3.376, allocations: 334 kB / 1.814 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/3.377, allocations: 113.1 kB / 1.814 GB, free: 181.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/3.377, allocations: 335.9 kB / 1.815 GB, free: 181 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/3.377, allocations: 191.5 kB / 1.815 GB, free: 180.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/3.377, allocations: 4 kB / 1.815 GB, free: 180.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006574/3.378, allocations: 480.2 kB / 1.815 GB, free: 180.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/3.378, allocations: 4.938 kB / 1.815 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/3.378, allocations: 8 kB / 1.815 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/3.378, allocations: 8 kB / 1.815 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/3.378, allocations: 120.3 kB / 1.815 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/3.378, allocations: 15.92 kB / 1.815 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/3.379, allocations: 91.28 kB / 1.816 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/3.379, allocations: 28 kB / 1.816 GB, free: 180.1 MB / 0.948 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.176e-05/3.379, allocations: 116.8 kB / 1.816 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/3.379, allocations: 82.97 kB / 1.816 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/3.38, allocations: 419.5 kB / 1.816 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/3.38, allocations: 8 kB / 1.816 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/3.38, allocations: 3.938 kB / 1.816 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004368/3.38, allocations: 407.6 kB / 1.817 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/3.382, allocations: 1.259 MB / 1.818 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/3.382, allocations: 4.156 kB / 1.818 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/3.382, allocations: 79.89 kB / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/3.382, allocations: 0 / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/3.382, allocations: 15.94 kB / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/3.382, allocations: 4 kB / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/3.382, allocations: 0 / 1.818 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/3.383, allocations: 0.7424 MB / 1.819 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/3.383, allocations: 224 kB / 1.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/3.383, allocations: 7.984 kB / 1.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/3.384, allocations: 51.86 kB / 1.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/3.384, allocations: 27.92 kB / 1.819 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/3.384, allocations: 23.92 kB / 1.819 GB, free: 176.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004939/3.384, allocations: 499.1 kB / 1.819 GB, free: 176 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/3.384, allocations: 0 / 1.819 GB, free: 176 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001079/3.386, allocations: 355.2 kB / 1.82 GB, free: 175.6 MB / 0.948 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.0008343/3.386, allocations: 0.5658 MB / 1.82 GB, free: 175.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004197/3.387, allocations: 320.7 kB / 1.821 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/3.387, allocations: 4 kB / 1.821 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/3.387, allocations: 164.2 kB / 1.821 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/3.389, allocations: 481.4 kB / 1.821 GB, free: 174.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/3.391, allocations: 1.167 MB / 1.822 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/3.391, allocations: 1.059 MB / 1.823 GB, free: 171.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006786/3.392, allocations: 174.9 kB / 1.824 GB, free: 171.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/3.392, allocations: 71.42 kB / 1.824 GB, free: 171.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/3.392, allocations: 0 / 1.824 GB, free: 171.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02624/3.418, allocations: 17.03 MB / 1.84 GB, free: 154.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)