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.635/1.635, allocations: 285.4 MB / 298 MB, free: 6.02 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.00131/0.00131, allocations: 184.8 kB / 366.4 MB, free: 2.113 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.522/1.522, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0008474/0.0008473, allocations: 95.61 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.931e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.7769, allocations: 115.3 MB / 0.9709 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.505/7.282, allocations: 2.394 GB / 3.365 GB, free: 55.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/7.282, allocations: 96.31 kB / 3.365 GB, free: 55.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.39/17.67, allocations: 2.675 GB / 6.041 GB, free: 14.32 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.603e-06/17.67, allocations: 2.188 kB / 6.041 GB, free: 14.32 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.00149/17.67, allocations: 163.6 kB / 6.041 GB, free: 14.16 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.0294/17.7, allocations: 6.181 MB / 6.047 GB, free: 7.906 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/17.7, allocations: 8.031 kB / 6.047 GB, free: 7.898 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/17.71, allocations: 1.497 MB / 6.048 GB, free: 6.395 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8761/18.59, allocations: 7.404 MB / 6.056 GB, free: 101.6 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005584/18.59, allocations: 375.9 kB / 6.056 GB, free: 101.6 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/18.59, allocations: 0.4945 MB / 6.056 GB, free: 101.6 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/18.61, allocations: 6.604 MB / 6.063 GB, free: 101.1 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/18.61, allocations: 5.719 kB / 6.063 GB, free: 101.1 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008074/18.61, allocations: 202.9 kB / 6.063 GB, free: 101.1 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003223/18.61, allocations: 225.8 kB / 6.063 GB, free: 101.1 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/18.63, allocations: 5.712 MB / 6.069 GB, free: 101 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.06437/18.69, allocations: 28.09 MB / 6.096 GB, free: 91.04 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008395/18.7, allocations: 4.433 MB / 6.101 GB, free: 90.22 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005892/18.71, allocations: 2.483 MB / 6.103 GB, free: 90.19 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/18.71, allocations: 0.9236 MB / 6.104 GB, free: 89.25 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004955/18.71, allocations: 2.146 MB / 6.106 GB, free: 89.12 MB / 1.026 GB Notification: Performance of pre-optimization done (n=324): time 7.735e-06/18.71, allocations: 0 / 6.106 GB, free: 89.12 MB / 1.026 GB Notification: Performance of matching and sorting (n=328): time 0.03026/18.75, allocations: 9.657 MB / 6.115 GB, free: 87.54 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/18.75, allocations: 248.7 kB / 6.116 GB, free: 87.29 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01653/18.76, allocations: 4.516 MB / 6.12 GB, free: 86.98 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001488/18.76, allocations: 98.67 kB / 6.12 GB, free: 86.95 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.006834/18.77, allocations: 2.728 MB / 6.123 GB, free: 86.32 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003178/18.77, allocations: 1.131 MB / 6.124 GB, free: 85.75 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009992/18.77, allocations: 68.59 kB / 6.124 GB, free: 85.75 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0005394/18.78, allocations: 448.8 kB / 6.124 GB, free: 85.44 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004526/18.78, allocations: 1.734 MB / 6.126 GB, free: 85.43 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005488/18.79, allocations: 2.643 MB / 6.129 GB, free: 84.55 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005734/18.79, allocations: 2.278 MB / 6.131 GB, free: 84.46 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.762e-05/18.79, allocations: 4.125 kB / 6.131 GB, free: 84.46 MB / 1.026 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0163/18.81, allocations: 5.054 MB / 6.136 GB, free: 84.04 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002322/18.81, allocations: 6.219 MB / 6.142 GB, free: 77.44 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/18.81, allocations: 14.44 kB / 6.142 GB, free: 77.44 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009633/18.81, allocations: 210.1 kB / 6.142 GB, free: 77.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/18.82, allocations: 0.7566 MB / 6.143 GB, free: 77.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/18.82, allocations: 3.412 MB / 6.146 GB, free: 74.98 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008953/18.83, allocations: 0.592 MB / 6.147 GB, free: 74.96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/18.83, allocations: 134.4 kB / 6.147 GB, free: 74.96 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/18.83, allocations: 3.625 kB / 6.147 GB, free: 74.96 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01369/18.84, allocations: 4.609 MB / 6.151 GB, free: 74.82 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/18.84, allocations: 18.09 kB / 6.152 GB, free: 74.82 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008202/18.84, allocations: 211.2 kB / 6.152 GB, free: 74.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/18.85, allocations: 0.7444 MB / 6.152 GB, free: 74.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004768/18.85, allocations: 4.063 MB / 6.156 GB, free: 72.06 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008805/18.86, allocations: 0.5802 MB / 6.157 GB, free: 72.04 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/18.86, allocations: 134 kB / 6.157 GB, free: 72.04 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 () * 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.002323/18.87, allocations: 345.3 kB / 6.157 GB, free: 71.9 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002837/18.87, allocations: 0.4927 MB / 6.158 GB, free: 71.64 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/18.88, allocations: 4.84 MB / 6.163 GB, free: 71.39 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/18.88, allocations: 31.94 kB / 6.163 GB, free: 71.39 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/18.88, allocations: 0.75 kB / 6.163 GB, free: 71.39 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008433/18.89, allocations: 4.011 MB / 6.167 GB, free: 71.09 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.03846/18.93, allocations: 12.05 MB / 6.178 GB, free: 70.06 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/18.93, allocations: 3.656 kB / 6.178 GB, free: 70.06 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004152/18.93, allocations: 0.7482 MB / 6.179 GB, free: 70.06 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006718/18.93, allocations: 164 kB / 6.179 GB, free: 70.05 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008063/18.94, allocations: 95.38 kB / 6.179 GB, free: 70.05 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/18.94, allocations: 3.313 MB / 6.183 GB, free: 67.61 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/18.94, allocations: 10.7 kB / 6.183 GB, free: 67.61 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/18.95, allocations: 7.926 MB / 6.19 GB, free: 66.24 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007611/18.96, allocations: 1.217 MB / 6.192 GB, free: 65.89 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003007/18.96, allocations: 81.67 kB / 6.192 GB, free: 65.89 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007476/18.97, allocations: 0.498 MB / 6.192 GB, free: 65.88 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001049/18.97, allocations: 206 kB / 6.192 GB, free: 65.87 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008849/18.97, allocations: 119.9 kB / 6.192 GB, free: 65.87 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009609/18.98, allocations: 3.542 MB / 6.196 GB, free: 65.66 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.51e-07/18.98, allocations: 0 / 6.196 GB, free: 65.66 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02097/19.01, allocations: 3.178 MB / 6.199 GB, free: 65.66 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.007296/19.01, allocations: 3.216 MB / 6.202 GB, free: 64.52 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01753/19.03, allocations: 7.331 MB / 6.209 GB, free: 63.89 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.286e-05/19.03, allocations: 4.438 kB / 6.209 GB, free: 63.89 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004772/19.03, allocations: 2.299 MB / 6.211 GB, free: 63.69 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01894/19.05, allocations: 3.073 MB / 6.214 GB, free: 63.63 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0357/19.09, allocations: 11.53 MB / 6.226 GB, free: 61.44 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009381/19.1, allocations: 4.677 MB / 6.23 GB, free: 60.59 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01951/19.12, allocations: 4.404 MB / 6.235 GB, free: 60.52 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/19.12, allocations: 297.2 kB / 6.235 GB, free: 60.52 MB / 1.026 GB Notification: Performance of SimCode: time 1.463e-06/19.12, allocations: 0 / 6.235 GB, free: 60.52 MB / 1.026 GB Notification: Performance of Templates: time 0.2706/19.39, allocations: 154.5 MB / 6.386 GB, free: 23.48 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)