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.636/1.636, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001303/0.001303, allocations: 172.9 kB / 361.4 MB, free: 6.82 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.646/1.646, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000872/0.000872, allocations: 89.17 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.18e-05, allocations: 8 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7715/0.7715, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.99, allocations: 406.6 MB / 1.361 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.99, allocations: 94.25 kB / 1.362 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.56/3.551, allocations: 431.7 MB / 1.783 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.472e-06/3.551, allocations: 0 / 1.783 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001685/3.551, allocations: 35.14 kB / 1.783 GB, free: 187.3 MB / 0.9323 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.002884/3.554, allocations: 1.252 MB / 1.784 GB, free: 186 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/3.554, allocations: 8.031 kB / 1.784 GB, free: 186 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/3.554, allocations: 135.2 kB / 1.785 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02382/3.578, allocations: 12.65 MB / 1.797 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/3.578, allocations: 20 kB / 1.797 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/3.578, allocations: 44 kB / 1.797 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001053/3.58, allocations: 447.9 kB / 1.797 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/3.581, allocations: 0.6266 MB / 1.798 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/3.581, allocations: 7.844 kB / 1.798 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/3.581, allocations: 4 kB / 1.798 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/3.581, allocations: 20 kB / 1.798 GB, free: 172 MB / 0.9323 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.003997/3.585, allocations: 3.386 MB / 1.801 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/3.585, allocations: 317.2 kB / 1.802 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/3.585, allocations: 148.8 kB / 1.802 GB, free: 168 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/3.586, allocations: 0.6686 MB / 1.802 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/3.586, allocations: 34.56 kB / 1.802 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 3.998e-06/3.586, allocations: 0 / 1.802 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.0008551/3.587, allocations: 350.1 kB / 1.803 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/3.587, allocations: 59.41 kB / 1.803 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/3.588, allocations: 0.6375 MB / 1.803 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/3.588, allocations: 29.7 kB / 1.804 GB, free: 166 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/3.588, allocations: 0.4989 MB / 1.804 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/3.588, allocations: 110.5 kB / 1.804 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/3.588, allocations: 0 / 1.804 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.26e-05/3.588, allocations: 322 kB / 1.804 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/3.588, allocations: 113.1 kB / 1.805 GB, free: 165 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/3.589, allocations: 339.7 kB / 1.805 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/3.589, allocations: 191.8 kB / 1.805 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/3.589, allocations: 0 / 1.805 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000791/3.59, allocations: 484.1 kB / 1.805 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/3.59, allocations: 8 kB / 1.806 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/3.59, allocations: 4 kB / 1.806 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/3.59, allocations: 8 kB / 1.806 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/3.59, allocations: 124.3 kB / 1.806 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/3.59, allocations: 11.95 kB / 1.806 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/3.591, allocations: 87.33 kB / 1.806 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/3.591, allocations: 31.98 kB / 1.806 GB, free: 163.6 MB / 0.9323 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.0001094/3.591, allocations: 116.8 kB / 1.806 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/3.591, allocations: 86.97 kB / 1.806 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/3.592, allocations: 419.4 kB / 1.806 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/3.592, allocations: 8 kB / 1.806 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/3.592, allocations: 0 / 1.806 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004522/3.593, allocations: 403.7 kB / 1.807 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/3.594, allocations: 1.271 MB / 1.808 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/3.594, allocations: 4.156 kB / 1.808 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/3.595, allocations: 79.89 kB / 1.808 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/3.595, allocations: 7.953 kB / 1.808 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/3.595, allocations: 15.92 kB / 1.808 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/3.595, allocations: 3.984 kB / 1.808 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.595, allocations: 4 kB / 1.808 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/3.595, allocations: 0.7419 MB / 1.809 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/3.596, allocations: 227.9 kB / 1.809 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/3.596, allocations: 4 kB / 1.809 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/3.597, allocations: 51.86 kB / 1.809 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/3.597, allocations: 27.92 kB / 1.809 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/3.597, allocations: 19.98 kB / 1.809 GB, free: 160 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005371/3.597, allocations: 499.1 kB / 1.81 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.21e-07/3.597, allocations: 0 / 1.81 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001172/3.598, allocations: 363.2 kB / 1.81 GB, free: 159.1 MB / 0.9323 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.0009982/3.599, allocations: 0.5655 MB / 1.811 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004675/3.6, allocations: 328.6 kB / 1.811 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/3.6, allocations: 4 kB / 1.811 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/3.6, allocations: 156.4 kB / 1.811 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/3.602, allocations: 479 kB / 1.811 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/3.604, allocations: 1.161 MB / 1.813 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/3.604, allocations: 1.063 MB / 1.814 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005766/3.605, allocations: 181.9 kB / 1.814 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/3.605, allocations: 71.42 kB / 1.814 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of SimCode: time 3.41e-07/3.605, allocations: 0 / 1.814 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.02517/3.63, allocations: 17.02 MB / 1.83 GB, free: 138.3 MB / 0.9323 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)