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.625/1.625, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001112/0.001112, allocations: 181 kB / 371.6 MB, free: 3.438 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.597/1.597, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008834/0.0008838, allocations: 91.14 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.918e-05/3.962e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2831, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.507/7.79, allocations: 2.395 GB / 3.375 GB, free: 208.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/7.79, allocations: 93.11 kB / 3.375 GB, free: 208.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.94/18.73, allocations: 2.675 GB / 6.051 GB, free: 117.1 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.955e-06/18.73, allocations: 0 / 6.051 GB, free: 117.1 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001621/18.73, allocations: 171.6 kB / 6.051 GB, free: 117 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.0298/18.76, allocations: 6.185 MB / 6.057 GB, free: 114.4 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/18.76, allocations: 9.641 kB / 6.057 GB, free: 114.4 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/18.77, allocations: 1.496 MB / 6.058 GB, free: 114 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02506/18.8, allocations: 7.411 MB / 6.065 GB, free: 113 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006166/18.8, allocations: 375.1 kB / 6.066 GB, free: 113 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003337/18.8, allocations: 0.4949 MB / 6.066 GB, free: 113 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/18.82, allocations: 6.601 MB / 6.073 GB, free: 112.5 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/18.82, allocations: 11.33 kB / 6.073 GB, free: 112.5 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008007/18.82, allocations: 203.6 kB / 6.073 GB, free: 112.5 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/18.82, allocations: 221.9 kB / 6.073 GB, free: 112.4 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/18.84, allocations: 5.71 MB / 6.079 GB, free: 112.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.06521/18.9, allocations: 28.08 MB / 6.106 GB, free: 94.8 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009169/18.91, allocations: 4.459 MB / 6.111 GB, free: 92.47 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005998/18.92, allocations: 2.479 MB / 6.113 GB, free: 91.54 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/18.92, allocations: 0.917 MB / 6.114 GB, free: 90.59 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00722/18.93, allocations: 2.156 MB / 6.116 GB, free: 89.76 MB / 1.026 GB Notification: Performance of pre-optimization done (n=324): time 1.532e-05/18.93, allocations: 7.625 kB / 6.116 GB, free: 89.75 MB / 1.026 GB Notification: Performance of matching and sorting (n=328): time 0.03616/18.96, allocations: 9.644 MB / 6.125 GB, free: 85.45 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/18.96, allocations: 248.9 kB / 6.126 GB, free: 85.18 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/18.98, allocations: 4.513 MB / 6.13 GB, free: 83.62 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001792/18.98, allocations: 98.39 kB / 6.13 GB, free: 83.55 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.006629/18.99, allocations: 2.728 MB / 6.133 GB, free: 81.47 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003133/18.99, allocations: 1.131 MB / 6.134 GB, free: 80.6 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/18.99, allocations: 66.78 kB / 6.134 GB, free: 80.55 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0006325/18.99, allocations: 443.8 kB / 6.134 GB, free: 80.18 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/19, allocations: 1.735 MB / 6.136 GB, free: 79.55 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00471/19, allocations: 2.65 MB / 6.139 GB, free: 77.93 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004722/19.01, allocations: 2.268 MB / 6.141 GB, free: 77.07 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.86e-05/19.01, allocations: 3.562 kB / 6.141 GB, free: 77.07 MB / 1.026 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0134/19.02, allocations: 5.063 MB / 6.146 GB, free: 74.6 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001869/19.02, allocations: 6.213 MB / 6.152 GB, free: 67.87 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.894e-05/19.02, allocations: 19.94 kB / 6.152 GB, free: 67.85 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007941/19.02, allocations: 208 kB / 6.152 GB, free: 67.68 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/19.03, allocations: 0.7556 MB / 6.153 GB, free: 67.04 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/19.03, allocations: 3.409 MB / 6.156 GB, free: 63.65 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00844/19.04, allocations: 0.5946 MB / 6.157 GB, free: 63.26 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/19.04, allocations: 140.4 kB / 6.157 GB, free: 63.13 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/19.04, allocations: 4.781 kB / 6.157 GB, free: 63.13 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01111/19.05, allocations: 4.606 MB / 6.161 GB, free: 59.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.309e-05/19.05, allocations: 15.38 kB / 6.161 GB, free: 59.09 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000672/19.05, allocations: 209.8 kB / 6.162 GB, free: 58.91 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/19.05, allocations: 0.7536 MB / 6.162 GB, free: 58.28 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/19.06, allocations: 4.055 MB / 6.166 GB, free: 54.22 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008008/19.07, allocations: 0.5783 MB / 6.167 GB, free: 53.84 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/19.07, allocations: 138.2 kB / 6.167 GB, free: 53.72 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.002011/19.07, allocations: 346 kB / 6.167 GB, free: 53.37 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00244/19.07, allocations: 0.494 MB / 6.168 GB, free: 52.87 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/19.08, allocations: 4.835 MB / 6.172 GB, free: 48.75 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/19.08, allocations: 32 kB / 6.173 GB, free: 48.72 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.01e-05/19.08, allocations: 7.609 kB / 6.173 GB, free: 48.72 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008376/19.09, allocations: 4.016 MB / 6.176 GB, free: 45.16 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.03227/19.12, allocations: 12.04 MB / 6.188 GB, free: 35.34 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/19.13, allocations: 4 kB / 6.188 GB, free: 35.34 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/19.13, allocations: 0.748 MB / 6.189 GB, free: 34.73 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006085/19.13, allocations: 166.6 kB / 6.189 GB, free: 34.59 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006464/19.13, allocations: 95.06 kB / 6.189 GB, free: 34.51 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/19.13, allocations: 3.313 MB / 6.192 GB, free: 31.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/19.13, allocations: 7.938 kB / 6.192 GB, free: 31.19 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/19.15, allocations: 7.932 MB / 6.2 GB, free: 23.89 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005732/19.15, allocations: 1.217 MB / 6.201 GB, free: 22.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002772/19.15, allocations: 83.8 kB / 6.201 GB, free: 22.72 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007653/19.16, allocations: 0.5016 MB / 6.202 GB, free: 22.36 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007112/19.16, allocations: 201.4 kB / 6.202 GB, free: 22.23 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006266/19.16, allocations: 116.8 kB / 6.202 GB, free: 22.13 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01088/19.17, allocations: 3.54 MB / 6.206 GB, free: 18.95 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.3e-07/19.17, allocations: 0 / 6.206 GB, free: 18.95 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02042/19.19, allocations: 3.182 MB / 6.209 GB, free: 15.77 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.007177/19.2, allocations: 3.206 MB / 6.212 GB, free: 12.76 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01453/19.22, allocations: 7.335 MB / 6.219 GB, free: 5.332 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-05/19.22, allocations: 5.062 kB / 6.219 GB, free: 5.328 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.005078/19.22, allocations: 2.292 MB / 6.221 GB, free: 3.008 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02036/19.24, allocations: 3.077 MB / 6.224 GB, free: 60 kB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9436/20.19, allocations: 11.53 MB / 6.236 GB, free: 112.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01163/20.2, allocations: 4.673 MB / 6.24 GB, free: 112 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02019/20.22, allocations: 4.401 MB / 6.244 GB, free: 112 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/20.22, allocations: 303.5 kB / 6.245 GB, free: 112 MB / 1.026 GB Notification: Performance of SimCode: time 1.333e-06/20.22, allocations: 0 / 6.245 GB, free: 112 MB / 1.026 GB Notification: Performance of Templates: time 0.2833/20.5, allocations: 154.5 MB / 6.396 GB, free: 105.2 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)