Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.561/2.561, allocations: 285 MB / 292.5 MB, free: 10.5 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.001449/0.001449, allocations: 180.8 kB / 360.7 MB, free: 7.227 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.943/1.943, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.00102/0.001019, allocations: 93.06 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.412e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8337, allocations: 115.2 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.985/7.818, allocations: 2.394 GB / 3.357 GB, free: 85.37 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/7.819, allocations: 95.59 kB / 3.357 GB, free: 85.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.9/21.72, allocations: 2.653 GB / 6.01 GB, free: 78.93 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.154e-06/21.72, allocations: 0 / 6.01 GB, free: 78.93 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001389/21.72, allocations: 168.2 kB / 6.01 GB, free: 78.77 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02794/21.75, allocations: 6.186 MB / 6.016 GB, free: 72.57 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/21.75, allocations: 8.031 kB / 6.016 GB, free: 72.56 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/21.77, allocations: 1.496 MB / 6.018 GB, free: 71.06 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02755/21.79, allocations: 7.406 MB / 6.025 GB, free: 63.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/21.79, allocations: 156 kB / 6.025 GB, free: 63.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002402/21.8, allocations: 296 kB / 6.025 GB, free: 63.26 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01792/21.81, allocations: 5.333 MB / 6.03 GB, free: 57.92 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/21.84, allocations: 5.886 MB / 6.036 GB, free: 51.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/21.84, allocations: 11.91 kB / 6.036 GB, free: 51.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/21.84, allocations: 4 kB / 6.036 GB, free: 51.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003457/21.84, allocations: 229.4 kB / 6.036 GB, free: 51.66 MB / 1.01 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.06413/21.9, allocations: 27.2 MB / 6.063 GB, free: 23.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00935/21.91, allocations: 5.33 MB / 6.068 GB, free: 17.61 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005397/21.92, allocations: 2.377 MB / 6.071 GB, free: 15.23 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/21.92, allocations: 0.9232 MB / 6.071 GB, free: 14.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005915/21.93, allocations: 2.176 MB / 6.074 GB, free: 11.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 8.356e-06/21.93, allocations: 0 / 6.074 GB, free: 11.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.04123/21.97, allocations: 10.92 MB / 6.084 GB, free: 0.8242 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/21.97, allocations: 291.6 kB / 6.084 GB, free: 488 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8335/22.8, allocations: 4.135 MB / 6.089 GB, free: 111.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/22.8, allocations: 32.39 kB / 6.089 GB, free: 111.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.005347/22.81, allocations: 2.701 MB / 6.091 GB, free: 111.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002462/22.81, allocations: 1.095 MB / 6.092 GB, free: 111.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/22.81, allocations: 2.625 kB / 6.092 GB, free: 111.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002982/22.81, allocations: 443.8 kB / 6.093 GB, free: 110.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004221/22.82, allocations: 1.658 MB / 6.094 GB, free: 110.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005709/22.82, allocations: 2.559 MB / 6.097 GB, free: 110 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00664/22.83, allocations: 2.223 MB / 6.099 GB, free: 109.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.995e-05/22.83, allocations: 4.25 kB / 6.099 GB, free: 109.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01561/22.84, allocations: 4.819 MB / 6.104 GB, free: 109.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001418/22.85, allocations: 6.369 MB / 6.11 GB, free: 102.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/22.85, allocations: 17.94 kB / 6.11 GB, free: 102.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/22.85, allocations: 197.9 kB / 6.11 GB, free: 102.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006811/22.85, allocations: 0.767 MB / 6.111 GB, free: 102.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/22.86, allocations: 3.369 MB / 6.114 GB, free: 100.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/22.87, allocations: 0.5184 MB / 6.115 GB, free: 100.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/22.87, allocations: 139.6 kB / 6.115 GB, free: 100.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/22.87, allocations: 6.125 kB / 6.115 GB, free: 100.3 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01201/22.88, allocations: 4.264 MB / 6.119 GB, free: 100.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-05/22.88, allocations: 22.05 kB / 6.119 GB, free: 100.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008454/22.88, allocations: 196.3 kB / 6.119 GB, free: 100.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006319/22.89, allocations: 0.7533 MB / 6.12 GB, free: 100.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/22.89, allocations: 3.925 MB / 6.124 GB, free: 97.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/22.9, allocations: 0.506 MB / 6.124 GB, free: 97.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/22.91, allocations: 137.1 kB / 6.124 GB, free: 97.55 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (399): * Single equations (assignments): 393 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001299/22.91, allocations: 225.6 kB / 6.125 GB, free: 97.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/22.91, allocations: 493.1 kB / 6.125 GB, free: 97.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/22.92, allocations: 4.518 MB / 6.129 GB, free: 96.94 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/22.92, allocations: 38.72 kB / 6.13 GB, free: 96.94 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/22.92, allocations: 3.875 kB / 6.13 GB, free: 96.94 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01031/22.93, allocations: 3.793 MB / 6.133 GB, free: 96.66 MB / 1.01 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.03298/22.97, allocations: 11.31 MB / 6.144 GB, free: 95.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/22.97, allocations: 4.594 kB / 6.144 GB, free: 95.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007004/22.97, allocations: 0.7442 MB / 6.145 GB, free: 95.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007341/22.97, allocations: 155.3 kB / 6.145 GB, free: 95.53 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006861/22.97, allocations: 51.8 kB / 6.145 GB, free: 95.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/22.98, allocations: 3.255 MB / 6.148 GB, free: 93.15 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/22.98, allocations: 11.23 kB / 6.148 GB, free: 93.14 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02078/23, allocations: 7.601 MB / 6.156 GB, free: 91.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006585/23.01, allocations: 1.196 MB / 6.157 GB, free: 91.47 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002989/23.01, allocations: 30.73 kB / 6.157 GB, free: 91.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/23.02, allocations: 454 kB / 6.157 GB, free: 91.46 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/23.02, allocations: 201.3 kB / 6.158 GB, free: 91.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006561/23.02, allocations: 124.7 kB / 6.158 GB, free: 91.45 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009709/23.03, allocations: 3.204 MB / 6.161 GB, free: 91.27 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.31e-07/23.03, allocations: 1.688 kB / 6.161 GB, free: 91.27 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02331/23.05, allocations: 2.944 MB / 6.164 GB, free: 91.27 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008556/23.06, allocations: 3.425 MB / 6.167 GB, free: 90.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01938/23.08, allocations: 6.994 MB / 6.174 GB, free: 89.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/23.08, allocations: 3.406 kB / 6.174 GB, free: 89.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005541/23.09, allocations: 2.194 MB / 6.176 GB, free: 89.37 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02572/23.11, allocations: 2.935 MB / 6.179 GB, free: 89.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/23.15, allocations: 11.36 MB / 6.19 GB, free: 87.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/23.16, allocations: 4.672 MB / 6.195 GB, free: 86.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02663/23.18, allocations: 4.374 MB / 6.199 GB, free: 86.26 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/23.19, allocations: 295.7 kB / 6.199 GB, free: 86.25 MB / 1.01 GB Notification: Performance of SimCode: time 1.463e-06/23.19, allocations: 2.125 kB / 6.199 GB, free: 86.25 MB / 1.01 GB Notification: Performance of Templates: time 0.2979/23.48, allocations: 121.6 MB / 6.318 GB, free: 79.66 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)