Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.3 MB / 303.2 MB, free: 8.25 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.001075/0.001075, allocations: 178.1 kB / 371.8 MB, free: 10.26 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.368/1.368, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008965/0.0008964, allocations: 86.94 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 16.78 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.234/5.441, allocations: 2.395 GB / 3.374 GB, free: 229.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/5.441, allocations: 102.6 kB / 3.374 GB, free: 229.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.507/14.95, allocations: 2.68 GB / 6.054 GB, free: 129 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.124e-06/14.95, allocations: 2.188 kB / 6.054 GB, free: 129 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001369/14.95, allocations: 167.6 kB / 6.054 GB, free: 129 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.03155/14.98, allocations: 7.487 MB / 6.061 GB, free: 125.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/14.98, allocations: 10.09 kB / 6.061 GB, free: 125.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/14.99, allocations: 1.494 MB / 6.063 GB, free: 125.5 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02219/15.01, allocations: 7.464 MB / 6.07 GB, free: 124.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004911/15.02, allocations: 371.1 kB / 6.07 GB, free: 124.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/15.02, allocations: 0.5014 MB / 6.071 GB, free: 124.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/15.04, allocations: 6.728 MB / 6.077 GB, free: 122.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003379/15.04, allocations: 3.969 kB / 6.077 GB, free: 122.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001909/15.04, allocations: 201.3 kB / 6.077 GB, free: 122.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/15.04, allocations: 223.1 kB / 6.078 GB, free: 122.6 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/15.06, allocations: 5.886 MB / 6.083 GB, free: 120.5 MB / 1.01 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.05151/15.11, allocations: 28.1 MB / 6.111 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/15.11, allocations: 4.532 MB / 6.115 GB, free: 100.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/15.11, allocations: 0.9202 MB / 6.116 GB, free: 99.59 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003524/15.12, allocations: 2.214 MB / 6.118 GB, free: 97.83 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 4.559e-06/15.12, allocations: 0 / 6.118 GB, free: 97.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.02555/15.14, allocations: 11.76 MB / 6.13 GB, free: 86.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/15.14, allocations: 244.2 kB / 6.13 GB, free: 85.98 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00855/15.15, allocations: 4.564 MB / 6.134 GB, free: 81.43 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/15.15, allocations: 105.6 kB / 6.135 GB, free: 81.32 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003037/15.16, allocations: 2.736 MB / 6.137 GB, free: 78.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/15.16, allocations: 1.134 MB / 6.138 GB, free: 77.43 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/15.16, allocations: 64 kB / 6.138 GB, free: 77.37 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002083/15.16, allocations: 444.9 kB / 6.139 GB, free: 76.93 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/15.16, allocations: 1.802 MB / 6.141 GB, free: 75.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003326/15.16, allocations: 2.715 MB / 6.143 GB, free: 72.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/15.17, allocations: 2.324 MB / 6.146 GB, free: 69.74 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/15.17, allocations: 7.938 kB / 6.146 GB, free: 69.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.009111/15.18, allocations: 5.188 MB / 6.151 GB, free: 64.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00119/15.18, allocations: 6.22 MB / 6.157 GB, free: 57.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/15.18, allocations: 16 kB / 6.157 GB, free: 57.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/15.18, allocations: 203.6 kB / 6.157 GB, free: 57.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/15.18, allocations: 0.7606 MB / 6.158 GB, free: 56.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/15.18, allocations: 3.457 MB / 6.161 GB, free: 53.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007901/15.19, allocations: 0.589 MB / 6.162 GB, free: 52.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000991/15.19, allocations: 136 kB / 6.162 GB, free: 52.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/15.19, allocations: 4 kB / 6.162 GB, free: 52.38 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007613/15.2, allocations: 4.736 MB / 6.166 GB, free: 47.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/15.2, allocations: 20.22 kB / 6.166 GB, free: 47.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/15.2, allocations: 215.1 kB / 6.167 GB, free: 47.37 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/15.21, allocations: 0.745 MB / 6.167 GB, free: 46.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/15.21, allocations: 4.115 MB / 6.171 GB, free: 42.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00773/15.22, allocations: 0.581 MB / 6.172 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009046/15.22, allocations: 136 kB / 6.172 GB, free: 41.52 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 392 * 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.005323/15.22, allocations: 2.404 MB / 6.174 GB, free: 39.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/15.23, allocations: 0.4979 MB / 6.175 GB, free: 38.59 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009146/15.24, allocations: 4.97 MB / 6.18 GB, free: 33.58 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/15.24, allocations: 35.98 kB / 6.18 GB, free: 33.55 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/15.24, allocations: 4 kB / 6.18 GB, free: 33.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005662/15.24, allocations: 4.117 MB / 6.184 GB, free: 29.35 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.02194/15.26, allocations: 12.15 MB / 6.196 GB, free: 17.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/15.26, allocations: 4 kB / 6.196 GB, free: 17.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/15.27, allocations: 0.7492 MB / 6.196 GB, free: 16.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/15.27, allocations: 176.2 kB / 6.197 GB, free: 16.13 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002864/15.27, allocations: 91.95 kB / 6.197 GB, free: 16.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/15.27, allocations: 3.351 MB / 6.2 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/15.27, allocations: 7.953 kB / 6.2 GB, free: 12.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/15.28, allocations: 8.094 MB / 6.208 GB, free: 4.156 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004827/15.29, allocations: 1.221 MB / 6.209 GB, free: 2.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/15.29, allocations: 83.98 kB / 6.209 GB, free: 2.828 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006208/15.29, allocations: 0.4951 MB / 6.21 GB, free: 2.332 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/15.29, allocations: 206.1 kB / 6.21 GB, free: 2.129 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003968/15.29, allocations: 120.5 kB / 6.21 GB, free: 2.012 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006965/15.3, allocations: 3.597 MB / 6.213 GB, free: 14.43 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.31e-07/15.3, allocations: 0 / 6.213 GB, free: 14.43 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01629/15.32, allocations: 3.173 MB / 6.216 GB, free: 11.26 MB / 1.026 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) * Number of clocked states: 0 () * 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.007214/15.32, allocations: 3.215 MB / 6.22 GB, free: 8.27 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01611/15.34, allocations: 7.37 MB / 6.227 GB, free: 0.8086 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-05/15.34, allocations: 5.281 kB / 6.227 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.5949/15.94, allocations: 2.349 MB / 6.229 GB, free: 144.4 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01846/15.95, allocations: 3.066 MB / 6.232 GB, free: 144.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03274/15.99, allocations: 15.66 MB / 6.247 GB, free: 138.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008174/16, allocations: 4.66 MB / 6.252 GB, free: 138.1 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01082/16.01, allocations: 2.676 MB / 6.255 GB, free: 138 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/16.01, allocations: 385.5 kB / 6.255 GB, free: 138 MB / 1.026 GB Notification: Performance of SimCode: time 1.773e-06/16.01, allocations: 0 / 6.255 GB, free: 138 MB / 1.026 GB Notification: Performance of Templates: time 0.2192/16.23, allocations: 138.9 MB / 6.391 GB, free: 131.4 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)