Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 284.8 MB / 297.3 MB, free: 6.316 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 180.9 kB / 365.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 101.9 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.963e-05, allocations: 4 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.7987, allocations: 115.3 MB / 0.97 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/2.093, allocations: 407.1 MB / 1.368 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/2.093, allocations: 90.52 kB / 1.368 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.068/4.161, allocations: 434.2 MB / 1.792 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.285e-06/4.161, allocations: 0 / 1.792 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000146/4.161, allocations: 31.94 kB / 1.792 GB, free: 178.1 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.003525/4.165, allocations: 1.243 MB / 1.793 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/4.165, allocations: 8.031 kB / 1.793 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/4.166, allocations: 131.2 kB / 1.793 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03977/4.205, allocations: 12.7 MB / 1.805 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/4.206, allocations: 57.94 kB / 1.806 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/4.206, allocations: 79.84 kB / 1.806 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/4.207, allocations: 0.7282 MB / 1.806 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/4.208, allocations: 7.938 kB / 1.806 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/4.208, allocations: 28 kB / 1.806 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/4.208, allocations: 27.98 kB / 1.806 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/4.209, allocations: 489 kB / 1.807 GB, free: 162.4 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.006/4.215, allocations: 3.559 MB / 1.81 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/4.216, allocations: 332 kB / 1.811 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/4.216, allocations: 156.8 kB / 1.811 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/4.217, allocations: 0.6648 MB / 1.811 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/4.217, allocations: 42.52 kB / 1.811 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/4.217, allocations: 4 kB / 1.811 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001062/4.218, allocations: 357 kB / 1.812 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/4.218, allocations: 55.41 kB / 1.812 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/4.219, allocations: 0.8076 MB / 1.813 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/4.22, allocations: 33.7 kB / 1.813 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/4.22, allocations: 0.4956 MB / 1.813 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/4.22, allocations: 114.4 kB / 1.813 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/4.22, allocations: 12 kB / 1.813 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/4.22, allocations: 326 kB / 1.814 GB, free: 155 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/4.221, allocations: 121.1 kB / 1.814 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/4.221, allocations: 353 kB / 1.814 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/4.222, allocations: 175.9 kB / 1.814 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/4.222, allocations: 8 kB / 1.814 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001274/4.223, allocations: 0.5276 MB / 1.815 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/4.223, allocations: 8 kB / 1.815 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/4.223, allocations: 7.953 kB / 1.815 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/4.223, allocations: 8 kB / 1.815 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/4.224, allocations: 119.8 kB / 1.815 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/4.224, allocations: 8 kB / 1.815 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/4.225, allocations: 107.3 kB / 1.815 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/4.225, allocations: 32 kB / 1.815 GB, free: 153.4 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.0001842/4.225, allocations: 137.9 kB / 1.815 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/4.226, allocations: 102.8 kB / 1.815 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/4.227, allocations: 454.9 kB / 1.816 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/4.227, allocations: 7.953 kB / 1.816 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/4.227, allocations: 0 / 1.816 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007031/4.228, allocations: 413.3 kB / 1.816 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/4.231, allocations: 1.389 MB / 1.817 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/4.231, allocations: 4 kB / 1.817 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/4.231, allocations: 88.03 kB / 1.818 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/4.231, allocations: 4 kB / 1.818 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/4.231, allocations: 8 kB / 1.818 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/4.232, allocations: 4 kB / 1.818 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/4.232, allocations: 0 / 1.818 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/4.233, allocations: 0.7786 MB / 1.818 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/4.234, allocations: 243.6 kB / 1.819 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/4.234, allocations: 16.05 kB / 1.819 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/4.235, allocations: 63.86 kB / 1.819 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/4.235, allocations: 31.91 kB / 1.819 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/4.235, allocations: 15.98 kB / 1.819 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001271/4.236, allocations: 0.6438 MB / 1.819 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.91e-07/4.236, allocations: 0 / 1.819 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001643/4.238, allocations: 367.4 kB / 1.82 GB, free: 148.4 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.001298/4.239, allocations: 0.5518 MB / 1.82 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009672/4.24, allocations: 349.7 kB / 1.82 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/4.24, allocations: 8.062 kB / 1.82 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/4.241, allocations: 160.6 kB / 1.821 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/4.246, allocations: 0.6167 MB / 1.821 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/4.249, allocations: 1.215 MB / 1.822 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/4.25, allocations: 1.06 MB / 1.823 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001366/4.251, allocations: 196.5 kB / 1.824 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/4.252, allocations: 83.42 kB / 1.824 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.223e-06/4.252, allocations: 0 / 1.824 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.05542/4.307, allocations: 22.94 MB / 1.846 GB, free: 121.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)