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.604/1.604, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001047, allocations: 180.8 kB / 366.7 MB, free: 1.68 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.734/1.734, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009059/0.0009059, allocations: 84.73 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.261e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7766, allocations: 116.3 MB / 0.9732 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.008/6.784, allocations: 2.395 GB / 3.368 GB, free: 44.16 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/6.785, allocations: 92.77 kB / 3.368 GB, free: 44.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.964/16.75, allocations: 2.653 GB / 6.021 GB, free: 4.117 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.575e-06/16.75, allocations: 4 kB / 6.021 GB, free: 4.113 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001487/16.75, allocations: 163.6 kB / 6.021 GB, free: 3.957 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.02642/16.78, allocations: 6.186 MB / 6.027 GB, free: 13.7 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/16.78, allocations: 8.562 kB / 6.027 GB, free: 13.69 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/16.79, allocations: 1.501 MB / 6.029 GB, free: 12.18 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02529/16.82, allocations: 7.41 MB / 6.036 GB, free: 4.703 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004278/16.82, allocations: 152 kB / 6.036 GB, free: 4.555 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002769/16.82, allocations: 295.9 kB / 6.036 GB, free: 4.266 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.8462/17.67, allocations: 5.327 MB / 6.041 GB, free: 102.8 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/17.69, allocations: 5.894 MB / 6.047 GB, free: 102.3 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001863/17.69, allocations: 6.75 kB / 6.047 GB, free: 102.3 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006965/17.69, allocations: 10.28 kB / 6.047 GB, free: 102.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003049/17.69, allocations: 223.2 kB / 6.047 GB, free: 102.3 MB / 1.026 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.05513/17.74, allocations: 27.2 MB / 6.074 GB, free: 92.52 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005907/17.75, allocations: 5.327 MB / 6.079 GB, free: 90.69 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/17.75, allocations: 2.375 MB / 6.081 GB, free: 90.66 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/17.75, allocations: 0.9174 MB / 6.082 GB, free: 89.71 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003036/17.76, allocations: 2.182 MB / 6.084 GB, free: 89.56 MB / 1.026 GB Notification: Performance of pre-optimization done (n=324): time 5.23e-06/17.76, allocations: 0 / 6.084 GB, free: 89.56 MB / 1.026 GB Notification: Performance of matching and sorting (n=328): time 0.02592/17.78, allocations: 10.91 MB / 6.095 GB, free: 86.75 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/17.78, allocations: 294.9 kB / 6.095 GB, free: 86.44 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007856/17.79, allocations: 4.141 MB / 6.099 GB, free: 86.16 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/17.79, allocations: 32.2 kB / 6.1 GB, free: 86.13 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003488/17.8, allocations: 2.701 MB / 6.102 GB, free: 85.48 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/17.8, allocations: 1.09 MB / 6.103 GB, free: 84.91 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/17.8, allocations: 1.312 kB / 6.103 GB, free: 84.91 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002417/17.8, allocations: 442.8 kB / 6.104 GB, free: 84.61 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/17.8, allocations: 1.663 MB / 6.105 GB, free: 84.6 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004163/17.81, allocations: 2.555 MB / 6.108 GB, free: 83.71 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005684/17.81, allocations: 2.228 MB / 6.11 GB, free: 83.66 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-05/17.81, allocations: 5.281 kB / 6.11 GB, free: 83.66 MB / 1.026 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01295/17.82, allocations: 4.818 MB / 6.115 GB, free: 83.27 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001618/17.83, allocations: 6.368 MB / 6.121 GB, free: 76.45 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.519e-05/17.83, allocations: 18.94 kB / 6.121 GB, free: 76.45 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/17.83, allocations: 198.6 kB / 6.121 GB, free: 76.44 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003851/17.83, allocations: 0.7621 MB / 6.122 GB, free: 76.44 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/17.83, allocations: 3.374 MB / 6.125 GB, free: 74.06 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007434/17.84, allocations: 0.5202 MB / 6.126 GB, free: 74.04 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007279/17.84, allocations: 138.5 kB / 6.126 GB, free: 74.04 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/17.84, allocations: 4.719 kB / 6.126 GB, free: 74.04 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008681/17.85, allocations: 4.273 MB / 6.13 GB, free: 73.92 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.645e-05/17.85, allocations: 15.16 kB / 6.13 GB, free: 73.92 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/17.85, allocations: 197.7 kB / 6.13 GB, free: 73.91 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/17.85, allocations: 0.7554 MB / 6.131 GB, free: 73.91 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/17.86, allocations: 3.922 MB / 6.135 GB, free: 71.28 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007766/17.87, allocations: 0.5104 MB / 6.135 GB, free: 71.26 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009582/17.87, allocations: 132 kB / 6.135 GB, free: 71.26 MB / 1.026 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.001284/17.87, allocations: 224 kB / 6.136 GB, free: 71.12 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/17.87, allocations: 493.3 kB / 6.136 GB, free: 70.88 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009728/17.88, allocations: 4.519 MB / 6.14 GB, free: 70.64 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/17.88, allocations: 33.22 kB / 6.14 GB, free: 70.64 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/17.88, allocations: 3.656 kB / 6.14 GB, free: 70.64 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005473/17.89, allocations: 3.801 MB / 6.144 GB, free: 70.38 MB / 1.026 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.02403/17.91, allocations: 11.3 MB / 6.155 GB, free: 69.25 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/17.91, allocations: 6.922 kB / 6.155 GB, free: 69.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/17.91, allocations: 0.7409 MB / 6.156 GB, free: 69.25 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/17.91, allocations: 157.3 kB / 6.156 GB, free: 69.24 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/17.91, allocations: 48.52 kB / 6.156 GB, free: 69.24 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/17.92, allocations: 3.27 MB / 6.159 GB, free: 66.86 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/17.92, allocations: 5.969 kB / 6.159 GB, free: 66.86 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/17.93, allocations: 7.598 MB / 6.167 GB, free: 65.53 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005714/17.93, allocations: 1.192 MB / 6.168 GB, free: 65.19 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002545/17.94, allocations: 30.58 kB / 6.168 GB, free: 65.19 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006892/17.94, allocations: 455.3 kB / 6.168 GB, free: 65.18 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005465/17.94, allocations: 199.3 kB / 6.169 GB, free: 65.17 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003805/17.94, allocations: 124.2 kB / 6.169 GB, free: 65.17 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.006846/17.95, allocations: 3.202 MB / 6.172 GB, free: 64.99 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.81e-07/17.95, allocations: 0 / 6.172 GB, free: 64.99 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01822/17.97, allocations: 2.941 MB / 6.175 GB, free: 64.99 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) * 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.007332/17.98, allocations: 3.433 MB / 6.178 GB, free: 63.84 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01372/17.99, allocations: 6.997 MB / 6.185 GB, free: 63.25 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/17.99, allocations: 4.344 kB / 6.185 GB, free: 63.25 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003966/17.99, allocations: 2.199 MB / 6.187 GB, free: 63.06 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01707/18.01, allocations: 2.933 MB / 6.19 GB, free: 63.02 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/18.04, allocations: 11.35 MB / 6.201 GB, free: 60.82 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005212/18.04, allocations: 4.683 MB / 6.206 GB, free: 59.97 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01488/18.06, allocations: 4.376 MB / 6.21 GB, free: 59.91 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/18.06, allocations: 303.2 kB / 6.21 GB, free: 59.91 MB / 1.026 GB Notification: Performance of SimCode: time 1.102e-06/18.06, allocations: 0 / 6.21 GB, free: 59.91 MB / 1.026 GB Notification: Performance of Templates: time 0.2174/18.27, allocations: 121.6 MB / 6.329 GB, free: 53.44 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)