Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 285.4 MB / 298 MB, free: 5.961 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.001302/0.001303, allocations: 180.3 kB / 366.4 MB, free: 2.098 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.671/1.671, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.001158/0.001158, allocations: 93.8 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.149e-05, allocations: 8 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7876/0.7877, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.982, allocations: 407.3 MB / 1.369 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/1.982, allocations: 96.11 kB / 1.369 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.575/3.557, allocations: 434.2 MB / 1.793 GB, free: 206.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.342e-06/3.557, allocations: 0 / 1.793 GB, free: 206.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001718/3.557, allocations: 30.42 kB / 1.793 GB, free: 206.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.003191/3.561, allocations: 1.243 MB / 1.794 GB, free: 205.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/3.561, allocations: 12.03 kB / 1.794 GB, free: 205.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006828/3.561, allocations: 131.4 kB / 1.794 GB, free: 205.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0244/3.586, allocations: 12.7 MB / 1.807 GB, free: 192.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/3.586, allocations: 58 kB / 1.807 GB, free: 192.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/3.586, allocations: 75.84 kB / 1.807 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/3.588, allocations: 0.7282 MB / 1.807 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/3.588, allocations: 0 / 1.807 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/3.588, allocations: 32 kB / 1.807 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/3.588, allocations: 27.98 kB / 1.807 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009625/3.589, allocations: 493 kB / 1.808 GB, free: 191.4 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.005108/3.594, allocations: 3.557 MB / 1.811 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/3.595, allocations: 331.7 kB / 1.812 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/3.595, allocations: 158.7 kB / 1.812 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/3.595, allocations: 0.664 MB / 1.812 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/3.595, allocations: 38.56 kB / 1.813 GB, free: 186.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.425e-06/3.595, allocations: 0 / 1.813 GB, free: 186.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008375/3.596, allocations: 360.9 kB / 1.813 GB, free: 185.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/3.596, allocations: 59.39 kB / 1.813 GB, free: 185.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/3.598, allocations: 0.8076 MB / 1.814 GB, free: 185 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/3.598, allocations: 37.7 kB / 1.814 GB, free: 185 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/3.598, allocations: 0.4917 MB / 1.814 GB, free: 184.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/3.598, allocations: 117.3 kB / 1.814 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/3.598, allocations: 11.94 kB / 1.814 GB, free: 184.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/3.598, allocations: 330 kB / 1.815 GB, free: 184 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/3.598, allocations: 121.1 kB / 1.815 GB, free: 183.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/3.599, allocations: 345 kB / 1.815 GB, free: 183.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/3.599, allocations: 191.6 kB / 1.815 GB, free: 183.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/3.599, allocations: 0 / 1.815 GB, free: 183.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008576/3.6, allocations: 0.5277 MB / 1.816 GB, free: 182.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/3.6, allocations: 9.656 kB / 1.816 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/3.6, allocations: 8 kB / 1.816 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/3.6, allocations: 8 kB / 1.816 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/3.6, allocations: 119.8 kB / 1.816 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/3.6, allocations: 8 kB / 1.816 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/3.601, allocations: 111.3 kB / 1.816 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/3.601, allocations: 28 kB / 1.816 GB, free: 182.5 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 0.0001149/3.601, allocations: 138.9 kB / 1.816 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/3.601, allocations: 98.78 kB / 1.816 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006907/3.602, allocations: 458.9 kB / 1.817 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/3.602, allocations: 4 kB / 1.817 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/3.602, allocations: 3.953 kB / 1.817 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003818/3.603, allocations: 413.3 kB / 1.817 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/3.604, allocations: 1.39 MB / 1.819 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/3.604, allocations: 0 / 1.819 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/3.605, allocations: 88.05 kB / 1.819 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/3.605, allocations: 4 kB / 1.819 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/3.605, allocations: 11.98 kB / 1.819 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/3.605, allocations: 0 / 1.819 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/3.605, allocations: 4 kB / 1.819 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/3.605, allocations: 0.7745 MB / 1.819 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/3.606, allocations: 247.8 kB / 1.82 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/3.606, allocations: 19.94 kB / 1.82 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/3.606, allocations: 55.86 kB / 1.82 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/3.606, allocations: 27.91 kB / 1.82 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/3.607, allocations: 15.98 kB / 1.82 GB, free: 178.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007339/3.607, allocations: 0.6399 MB / 1.82 GB, free: 177.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.72e-07/3.607, allocations: 0 / 1.82 GB, free: 177.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001098/3.608, allocations: 375.3 kB / 1.821 GB, free: 177.5 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.0008774/3.609, allocations: 0.5608 MB / 1.821 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005148/3.61, allocations: 354.1 kB / 1.822 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/3.61, allocations: 8.062 kB / 1.822 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/3.61, allocations: 164.3 kB / 1.822 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/3.613, allocations: 0.6176 MB / 1.822 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/3.614, allocations: 1.207 MB / 1.824 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/3.615, allocations: 1.056 MB / 1.825 GB, free: 173.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007119/3.616, allocations: 200.5 kB / 1.825 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/3.616, allocations: 83.42 kB / 1.825 GB, free: 173.3 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/3.616, allocations: 0 / 1.825 GB, free: 173.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03305/3.649, allocations: 22.94 MB / 1.847 GB, free: 150.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)