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.53/2.53, allocations: 287.5 MB / 302.5 MB, free: 8.258 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.001509/0.001509, allocations: 169.2 kB / 371 MB, free: 10.8 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.103/2.103, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001187, allocations: 97.55 kB / 0.743 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 13.25 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.486, allocations: 407.2 MB / 1.376 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.486, allocations: 97.27 kB / 1.376 GB, free: 6.984 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.73/4.216, allocations: 435.5 MB / 1.801 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.836e-06/4.216, allocations: 0 / 1.801 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001249/4.216, allocations: 34.03 kB / 1.801 GB, free: 206.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.004235/4.22, allocations: 1.453 MB / 1.803 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/4.221, allocations: 8.625 kB / 1.803 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005912/4.221, allocations: 137.3 kB / 1.803 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04102/4.262, allocations: 12.78 MB / 1.815 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/4.262, allocations: 55.84 kB / 1.816 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/4.262, allocations: 82.98 kB / 1.816 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/4.264, allocations: 0.7751 MB / 1.816 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/4.265, allocations: 3.781 kB / 1.816 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/4.265, allocations: 28.41 kB / 1.816 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/4.265, allocations: 21.84 kB / 1.816 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/4.266, allocations: 0.5574 MB / 1.817 GB, free: 205 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.005873/4.272, allocations: 3.548 MB / 1.82 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009685/4.273, allocations: 369.5 kB / 1.821 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/4.274, allocations: 0.6642 MB / 1.821 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/4.274, allocations: 36.88 kB / 1.821 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 3.095e-06/4.274, allocations: 0 / 1.821 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001936/4.276, allocations: 0.5595 MB / 1.822 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/4.276, allocations: 55.03 kB / 1.822 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/4.278, allocations: 0.8232 MB / 1.823 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/4.278, allocations: 32.95 kB / 1.823 GB, free: 202 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/4.278, allocations: 0.4914 MB / 1.823 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/4.278, allocations: 115.3 kB / 1.823 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/4.278, allocations: 9.156 kB / 1.823 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/4.279, allocations: 328.1 kB / 1.824 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/4.279, allocations: 165.6 kB / 1.824 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/4.28, allocations: 385.4 kB / 1.824 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/4.281, allocations: 226.1 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/4.281, allocations: 1.344 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001825/4.282, allocations: 0.5957 MB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/4.282, allocations: 7.656 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/4.282, allocations: 6.219 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/4.282, allocations: 8.062 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/4.283, allocations: 123 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/4.283, allocations: 14.33 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/4.285, allocations: 110.6 kB / 1.825 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/4.285, allocations: 24.25 kB / 1.825 GB, free: 201.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.000627/4.285, allocations: 278.3 kB / 1.826 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/4.286, allocations: 98.41 kB / 1.826 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/4.287, allocations: 0.5135 MB / 1.826 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/4.287, allocations: 2.906 kB / 1.826 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/4.287, allocations: 3.281 kB / 1.826 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/4.288, allocations: 487.3 kB / 1.827 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/4.292, allocations: 1.459 MB / 1.828 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/4.292, allocations: 4.906 kB / 1.828 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/4.293, allocations: 86.17 kB / 1.828 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/4.293, allocations: 3.75 kB / 1.828 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/4.293, allocations: 10.44 kB / 1.828 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/4.293, allocations: 5.125 kB / 1.828 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/4.293, allocations: 3.375 kB / 1.828 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/4.295, allocations: 0.8866 MB / 1.829 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/4.296, allocations: 240.5 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/4.296, allocations: 7 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/4.297, allocations: 68.27 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/4.298, allocations: 25.45 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/4.298, allocations: 23.56 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001385/4.299, allocations: 0.6462 MB / 1.83 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.9e-07/4.299, allocations: 3.719 kB / 1.83 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001975/4.301, allocations: 367.5 kB / 1.83 GB, free: 199.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.001393/4.303, allocations: 0.5615 MB / 1.831 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001498/4.304, allocations: 434.8 kB / 1.831 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/4.304, allocations: 0.9688 kB / 1.831 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/4.305, allocations: 200.7 kB / 1.832 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/4.31, allocations: 0.6167 MB / 1.832 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/4.314, allocations: 1.954 MB / 1.834 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/4.315, allocations: 1.069 MB / 1.835 GB, free: 198 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001447/4.316, allocations: 204.5 kB / 1.835 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/4.317, allocations: 77.97 kB / 1.835 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of SimCode: time 9.42e-07/4.317, allocations: 0 / 1.835 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05525/4.372, allocations: 22.4 MB / 1.857 GB, free: 197.4 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)