Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 284.8 MB / 297.3 MB, free: 6.305 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.00149/0.00149, allocations: 188.8 kB / 365.7 MB, free: 2.59 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 1.859/1.859, allocations: 205.1 MB / 0.6241 GB, free: 8.188 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.001107/0.001106, allocations: 98.75 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.468e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7851, allocations: 115.2 MB / 0.97 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.935/7.72, allocations: 2.375 GB / 3.345 GB, free: 80.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/7.72, allocations: 90.14 kB / 3.345 GB, free: 80.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.39/21.11, allocations: 2.42 GB / 5.765 GB, free: 95.98 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.736e-06/21.11, allocations: 3.812 kB / 5.765 GB, free: 95.98 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001281/21.11, allocations: 145.5 kB / 5.765 GB, free: 95.96 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.02655/21.13, allocations: 5.717 MB / 5.771 GB, free: 94 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/21.13, allocations: 10.69 kB / 5.771 GB, free: 94 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/21.15, allocations: 1.395 MB / 5.772 GB, free: 93.65 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02571/21.17, allocations: 7.055 MB / 5.779 GB, free: 92.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005442/21.17, allocations: 348.1 kB / 5.779 GB, free: 92.77 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/21.18, allocations: 484.2 kB / 5.78 GB, free: 92.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/21.2, allocations: 6.352 MB / 5.786 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/21.2, allocations: 14.12 kB / 5.786 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/21.2, allocations: 192.7 kB / 5.786 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002901/21.2, allocations: 210.5 kB / 5.786 GB, free: 92.34 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/21.22, allocations: 5.581 MB / 5.792 GB, free: 92.3 MB / 0.9948 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.06267/21.28, allocations: 26.6 MB / 5.818 GB, free: 82.82 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008665/21.29, allocations: 4.015 MB / 5.822 GB, free: 82.36 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005322/21.29, allocations: 2.438 MB / 5.824 GB, free: 82.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/21.3, allocations: 1.01 MB / 5.825 GB, free: 81.29 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00523/21.3, allocations: 2.146 MB / 5.827 GB, free: 81.12 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 9.047e-06/21.3, allocations: 3.188 kB / 5.827 GB, free: 81.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.03323/21.33, allocations: 9.478 MB / 5.836 GB, free: 79.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/21.33, allocations: 135.4 kB / 5.836 GB, free: 79.25 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/21.35, allocations: 4.211 MB / 5.841 GB, free: 78.94 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/21.35, allocations: 89.05 kB / 5.841 GB, free: 78.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003809/21.35, allocations: 2.483 MB / 5.843 GB, free: 78.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002078/21.35, allocations: 1.09 MB / 5.844 GB, free: 77.39 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/21.35, allocations: 59.53 kB / 5.844 GB, free: 77.39 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002794/21.35, allocations: 434.7 kB / 5.845 GB, free: 77.09 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004415/21.36, allocations: 1.689 MB / 5.846 GB, free: 77.08 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005722/21.36, allocations: 2.486 MB / 5.849 GB, free: 76.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005779/21.37, allocations: 2.228 MB / 5.851 GB, free: 76.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-05/21.37, allocations: 3.125 kB / 5.851 GB, free: 76.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01443/21.38, allocations: 4.859 MB / 5.856 GB, free: 75.78 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001361/21.39, allocations: 5.678 MB / 5.861 GB, free: 69.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.785e-05/21.39, allocations: 12.78 kB / 5.861 GB, free: 69.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007125/21.39, allocations: 125.7 kB / 5.861 GB, free: 69.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006544/21.39, allocations: 0.71 MB / 5.862 GB, free: 69.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/21.4, allocations: 2.745 MB / 5.865 GB, free: 67.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009895/21.41, allocations: 0.537 MB / 5.865 GB, free: 67.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/21.41, allocations: 133.4 kB / 5.865 GB, free: 67.88 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/21.41, allocations: 3.031 kB / 5.865 GB, free: 67.88 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01215/21.42, allocations: 4.476 MB / 5.87 GB, free: 67.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-05/21.42, allocations: 16.72 kB / 5.87 GB, free: 67.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/21.42, allocations: 124.8 kB / 5.87 GB, free: 67.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006098/21.43, allocations: 0.707 MB / 5.871 GB, free: 67.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/21.43, allocations: 2.144 MB / 5.873 GB, free: 66.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009636/21.44, allocations: 0.5264 MB / 5.873 GB, free: 66.33 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009598/21.44, allocations: 129.8 kB / 5.873 GB, free: 66.33 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (380): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001368/21.44, allocations: 370.3 kB / 5.874 GB, free: 66.14 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/21.44, allocations: 461.8 kB / 5.874 GB, free: 65.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/21.46, allocations: 4.712 MB / 5.879 GB, free: 65.63 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/21.46, allocations: 31 kB / 5.879 GB, free: 65.63 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/21.46, allocations: 3.969 kB / 5.879 GB, free: 65.63 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01015/21.47, allocations: 3.956 MB / 5.883 GB, free: 65.3 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.03364/21.5, allocations: 11.82 MB / 5.894 GB, free: 64.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/21.5, allocations: 4.688 kB / 5.894 GB, free: 64.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006599/21.51, allocations: 0.7247 MB / 5.895 GB, free: 64.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005765/21.51, allocations: 106.1 kB / 5.895 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007695/21.51, allocations: 90.33 kB / 5.895 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/21.51, allocations: 2.725 MB / 5.898 GB, free: 62.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/21.51, allocations: 14.33 kB / 5.898 GB, free: 62.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/21.53, allocations: 7.771 MB / 5.905 GB, free: 59.41 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00549/21.54, allocations: 1.167 MB / 5.906 GB, free: 58.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001988/21.54, allocations: 76.86 kB / 5.906 GB, free: 58.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008562/21.55, allocations: 490 kB / 5.907 GB, free: 58.65 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/21.55, allocations: 196.3 kB / 5.907 GB, free: 58.62 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005329/21.55, allocations: 118.8 kB / 5.907 GB, free: 58.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009127/21.56, allocations: 3.308 MB / 5.91 GB, free: 57.39 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.32e-07/21.56, allocations: 0 / 5.91 GB, free: 57.39 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01767/21.57, allocations: 2.933 MB / 5.913 GB, free: 57.05 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006532/21.58, allocations: 2.87 MB / 5.916 GB, free: 55.94 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01805/21.6, allocations: 7.064 MB / 5.923 GB, free: 53.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/21.6, allocations: 9.25 kB / 5.923 GB, free: 53.19 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005631/21.61, allocations: 2.319 MB / 5.925 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02435/21.63, allocations: 2.916 MB / 5.928 GB, free: 51.79 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/21.66, allocations: 11.02 MB / 5.939 GB, free: 47.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008301/21.67, allocations: 4.482 MB / 5.943 GB, free: 46.35 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02313/21.69, allocations: 4.358 MB / 5.948 GB, free: 46.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/21.69, allocations: 281.6 kB / 5.948 GB, free: 46.28 MB / 0.9948 GB Notification: Performance of SimCode: time 1.483e-06/21.69, allocations: 0 / 5.948 GB, free: 46.28 MB / 0.9948 GB Notification: Performance of Templates: time 1.169/22.86, allocations: 144.1 MB / 6.089 GB, free: 114.8 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)