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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 293 MB / 309 MB, free: 4.848 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.001058/0.001058, allocations: 175.8 kB / 378.7 MB, free: 1.039 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.609/1.609, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.000808/0.000808, allocations: 96.39 kB / 0.7527 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 20 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.54, allocations: 408.4 MB / 1.389 GB, free: 278.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.54, allocations: 101 kB / 1.389 GB, free: 278.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.231/2.771, allocations: 432.9 MB / 1.812 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.914e-06/2.771, allocations: 3.312 kB / 1.812 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001501/2.772, allocations: 27.5 kB / 1.812 GB, free: 171.7 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.003151/2.775, allocations: 1.439 MB / 1.814 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/2.775, allocations: 6.875 kB / 1.814 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/2.775, allocations: 140.8 kB / 1.814 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02285/2.798, allocations: 11.8 MB / 1.825 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/2.798, allocations: 54.88 kB / 1.825 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/2.798, allocations: 72.94 kB / 1.825 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/2.8, allocations: 0.7779 MB / 1.826 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/2.8, allocations: 12.25 kB / 1.826 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/2.8, allocations: 28.38 kB / 1.826 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/2.8, allocations: 21.69 kB / 1.826 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/2.801, allocations: 0.5612 MB / 1.827 GB, free: 170.2 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004291/2.806, allocations: 3.533 MB / 1.83 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/2.806, allocations: 368.7 kB / 1.831 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/2.807, allocations: 194.8 kB / 1.831 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/2.807, allocations: 0.6687 MB / 1.831 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/2.807, allocations: 38.31 kB / 1.831 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 2.445e-06/2.807, allocations: 0 / 1.831 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001282/2.808, allocations: 0.5629 MB / 1.832 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/2.809, allocations: 55.41 kB / 1.832 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/2.81, allocations: 0.9112 MB / 1.833 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/2.81, allocations: 36.7 kB / 1.833 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/2.81, allocations: 0.489 MB / 1.833 GB, free: 167 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/2.81, allocations: 109.6 kB / 1.834 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/2.81, allocations: 10.69 kB / 1.834 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/2.81, allocations: 324.8 kB / 1.834 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/2.811, allocations: 161.7 kB / 1.834 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/2.811, allocations: 390.9 kB / 1.834 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/2.812, allocations: 0.5107 MB / 1.835 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/2.812, allocations: 1.406 kB / 1.835 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001166/2.813, allocations: 0.6077 MB / 1.835 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/2.813, allocations: 6.812 kB / 1.835 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/2.813, allocations: 5.531 kB / 1.835 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/2.813, allocations: 8.156 kB / 1.835 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/2.814, allocations: 118.1 kB / 1.836 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/2.814, allocations: 14.48 kB / 1.836 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/2.815, allocations: 102.9 kB / 1.836 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/2.815, allocations: 32.09 kB / 1.836 GB, free: 166.1 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 () * Number of clocked 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.0005018/2.815, allocations: 280.4 kB / 1.836 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/2.815, allocations: 103.1 kB / 1.836 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/2.816, allocations: 0.5092 MB / 1.837 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/2.816, allocations: 7.469 kB / 1.837 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/2.816, allocations: 0 / 1.837 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000676/2.817, allocations: 485.8 kB / 1.837 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/2.819, allocations: 1.446 MB / 1.838 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/2.819, allocations: 1.656 kB / 1.839 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/2.82, allocations: 86 kB / 1.839 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/2.82, allocations: 3.312 kB / 1.839 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/2.82, allocations: 8.156 kB / 1.839 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/2.82, allocations: 5.844 kB / 1.839 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/2.82, allocations: 1.125 kB / 1.839 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/2.821, allocations: 0.8256 MB / 1.839 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/2.821, allocations: 241.9 kB / 1.84 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/2.821, allocations: 10.16 kB / 1.84 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/2.822, allocations: 62.38 kB / 1.84 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/2.822, allocations: 28.05 kB / 1.84 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/2.822, allocations: 19.14 kB / 1.84 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007371/2.823, allocations: 0.6405 MB / 1.84 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.443e-06/2.823, allocations: 0 / 1.84 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001014/2.824, allocations: 361.6 kB / 1.841 GB, free: 164.7 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 () * Number of clocked 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.0008999/2.825, allocations: 0.5463 MB / 1.841 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008355/2.826, allocations: 426.2 kB / 1.842 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.826, allocations: 0 / 1.842 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/2.826, allocations: 207 kB / 1.842 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/2.829, allocations: 0.6132 MB / 1.842 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/2.831, allocations: 1.96 MB / 1.844 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/2.832, allocations: 1.043 MB / 1.845 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008602/2.833, allocations: 206.3 kB / 1.846 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/2.833, allocations: 82.75 kB / 1.846 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of SimCode: time 4.31e-07/2.833, allocations: 1.875 kB / 1.846 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.03586/2.869, allocations: 22.65 MB / 1.868 GB, free: 162 MB / 0.9323 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)