Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.6 MB / 307.5 MB, free: 5.148 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.001046/0.001046, allocations: 187.4 kB / 377.1 MB, free: 1.52 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.545/1.545, allocations: 205.4 MB / 0.6367 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 89.09 kB / 0.751 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004664, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3191, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.617/6.936, allocations: 2.396 GB / 3.384 GB, free: 185 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/6.936, allocations: 100.6 kB / 3.384 GB, free: 184.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.52/17.45, allocations: 2.68 GB / 6.064 GB, free: 120.4 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.573e-06/17.45, allocations: 0 / 6.064 GB, free: 120.4 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001341/17.45, allocations: 165.2 kB / 6.064 GB, free: 120.3 MB / 1.026 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.03102/17.49, allocations: 7.492 MB / 6.071 GB, free: 117.2 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/17.49, allocations: 6.906 kB / 6.071 GB, free: 117.2 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/17.5, allocations: 1.494 MB / 6.072 GB, free: 116.9 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/17.52, allocations: 7.46 MB / 6.08 GB, free: 115.8 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005861/17.52, allocations: 370.9 kB / 6.08 GB, free: 115.7 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003173/17.52, allocations: 0.5011 MB / 6.081 GB, free: 115.5 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/17.55, allocations: 6.711 MB / 6.087 GB, free: 112.8 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003545/17.55, allocations: 20.95 kB / 6.087 GB, free: 112.8 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002115/17.55, allocations: 201.4 kB / 6.087 GB, free: 112.6 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002698/17.55, allocations: 216.3 kB / 6.088 GB, free: 112.6 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/17.56, allocations: 5.888 MB / 6.093 GB, free: 110.4 MB / 1.026 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.05214/17.62, allocations: 28.09 MB / 6.121 GB, free: 92.91 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00711/17.62, allocations: 4.545 MB / 6.125 GB, free: 90.58 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/17.63, allocations: 0.9196 MB / 6.126 GB, free: 89.62 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004323/17.63, allocations: 2.209 MB / 6.128 GB, free: 88.8 MB / 1.026 GB Notification: Performance of pre-optimization done (n=324): time 8.266e-06/17.63, allocations: 0 / 6.128 GB, free: 88.8 MB / 1.026 GB Notification: Performance of matching and sorting (n=328): time 0.02738/17.66, allocations: 11.77 MB / 6.14 GB, free: 79.14 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/17.66, allocations: 246.3 kB / 6.14 GB, free: 78.85 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009533/17.67, allocations: 4.563 MB / 6.144 GB, free: 75.08 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0008438/17.67, allocations: 101.5 kB / 6.144 GB, free: 74.98 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003418/17.67, allocations: 2.728 MB / 6.147 GB, free: 72.5 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/17.67, allocations: 1.129 MB / 6.148 GB, free: 71.47 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005201/17.67, allocations: 64 kB / 6.148 GB, free: 71.41 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000296/17.67, allocations: 444.5 kB / 6.149 GB, free: 71 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/17.68, allocations: 1.804 MB / 6.151 GB, free: 69.23 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003855/17.68, allocations: 2.719 MB / 6.153 GB, free: 66.2 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/17.68, allocations: 2.322 MB / 6.155 GB, free: 63.88 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/17.68, allocations: 8 kB / 6.155 GB, free: 63.88 MB / 1.026 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01005/17.69, allocations: 5.196 MB / 6.161 GB, free: 58.63 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/17.7, allocations: 6.208 MB / 6.167 GB, free: 51.84 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/17.7, allocations: 12 kB / 6.167 GB, free: 51.83 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/17.7, allocations: 213.5 kB / 6.167 GB, free: 51.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/17.7, allocations: 0.7567 MB / 6.168 GB, free: 50.86 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/17.7, allocations: 3.461 MB / 6.171 GB, free: 47.23 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/17.71, allocations: 0.5929 MB / 6.171 GB, free: 46.63 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007214/17.71, allocations: 132 kB / 6.172 GB, free: 46.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/17.71, allocations: 4 kB / 6.172 GB, free: 46.5 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009525/17.72, allocations: 4.74 MB / 6.176 GB, free: 41.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.959e-05/17.72, allocations: 16 kB / 6.176 GB, free: 41.71 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/17.72, allocations: 209.7 kB / 6.176 GB, free: 41.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/17.72, allocations: 0.7522 MB / 6.177 GB, free: 40.75 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/17.73, allocations: 4.112 MB / 6.181 GB, free: 36.36 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00749/17.74, allocations: 0.5884 MB / 6.182 GB, free: 35.78 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009217/17.74, allocations: 132 kB / 6.182 GB, free: 35.65 MB / 1.026 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.006266/17.74, allocations: 2.407 MB / 6.184 GB, free: 33.22 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002399/17.75, allocations: 0.494 MB / 6.185 GB, free: 32.72 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/17.76, allocations: 4.956 MB / 6.19 GB, free: 27.71 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/17.76, allocations: 32 kB / 6.19 GB, free: 27.68 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/17.76, allocations: 0 / 6.19 GB, free: 27.68 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006569/17.77, allocations: 4.14 MB / 6.194 GB, free: 23.48 MB / 1.026 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.02877/17.79, allocations: 12.14 MB / 6.206 GB, free: 11.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/17.79, allocations: 4 kB / 6.206 GB, free: 11.18 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003689/17.8, allocations: 0.7455 MB / 6.206 GB, free: 10.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/17.8, allocations: 164.5 kB / 6.206 GB, free: 10.27 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006083/17.8, allocations: 95.05 kB / 6.206 GB, free: 10.18 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/17.8, allocations: 3.363 MB / 6.21 GB, free: 6.645 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/17.8, allocations: 7.953 kB / 6.21 GB, free: 6.637 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6954/18.5, allocations: 8.097 MB / 6.218 GB, free: 128.2 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005753/18.5, allocations: 1.221 MB / 6.219 GB, free: 128.1 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/18.5, allocations: 81.06 kB / 6.219 GB, free: 128.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006322/18.51, allocations: 0.4974 MB / 6.219 GB, free: 128.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006404/18.51, allocations: 202.5 kB / 6.22 GB, free: 128.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003846/18.51, allocations: 117.5 kB / 6.22 GB, free: 128.1 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.008099/18.52, allocations: 3.601 MB / 6.223 GB, free: 127.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 5.51e-07/18.52, allocations: 0 / 6.223 GB, free: 127.9 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02082/18.54, allocations: 3.17 MB / 6.226 GB, free: 127.9 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.007452/18.55, allocations: 3.206 MB / 6.229 GB, free: 126.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01417/18.56, allocations: 7.357 MB / 6.237 GB, free: 126.2 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/18.56, allocations: 7.25 kB / 6.237 GB, free: 126.2 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004008/18.57, allocations: 2.35 MB / 6.239 GB, free: 126 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01783/18.58, allocations: 3.076 MB / 6.242 GB, free: 126 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03387/18.62, allocations: 15.68 MB / 6.257 GB, free: 120.5 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005026/18.62, allocations: 4.666 MB / 6.262 GB, free: 119.6 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01005/18.63, allocations: 2.665 MB / 6.264 GB, free: 119.6 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/18.64, allocations: 385.2 kB / 6.265 GB, free: 119.6 MB / 1.026 GB Notification: Performance of SimCode: time 7.62e-07/18.64, allocations: 1.406 kB / 6.265 GB, free: 119.6 MB / 1.026 GB Notification: Performance of Templates: time 0.2215/18.86, allocations: 139 MB / 6.401 GB, free: 112.6 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)