Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.575/1.575, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001232/0.001232, allocations: 180.9 kB / 361.4 MB, free: 6.816 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.567/1.567, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008465/0.0008463, allocations: 94.52 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.254e-05, allocations: 8 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.753, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.279/6.032, allocations: 2.08 GB / 3.045 GB, free: 335.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/6.033, allocations: 105.8 kB / 3.045 GB, free: 335.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.2858/6.318, allocations: 143 MB / 3.184 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.994e-06/6.318, allocations: 0 / 3.184 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001228/6.319, allocations: 32 kB / 3.184 GB, free: 228.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.004996/6.324, allocations: 2.23 MB / 3.186 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/6.324, allocations: 8.031 kB / 3.186 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/6.345, allocations: 2.927 MB / 3.189 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006105/6.351, allocations: 2.831 MB / 3.192 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/6.352, allocations: 174.3 kB / 3.192 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/6.352, allocations: 39.98 kB / 3.192 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004117/6.356, allocations: 3.551 MB / 3.196 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/6.359, allocations: 2.577 MB / 3.198 GB, free: 214 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/6.359, allocations: 0 / 3.198 GB, free: 214 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/6.359, allocations: 8 kB / 3.198 GB, free: 214 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/6.359, allocations: 12 kB / 3.198 GB, free: 214 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/6.379, allocations: 8.697 MB / 3.207 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008353/6.387, allocations: 3.975 MB / 3.211 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/6.389, allocations: 1.603 MB / 3.212 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/6.389, allocations: 24.53 kB / 3.212 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00256/6.392, allocations: 2.34 MB / 3.215 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 3.477e-06/6.392, allocations: 0 / 3.215 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.0236/6.415, allocations: 5.14 MB / 3.22 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/6.416, allocations: 101.9 kB / 3.22 GB, free: 192 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006252/6.422, allocations: 3.987 MB / 3.224 GB, free: 188 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008615/6.423, allocations: 49.69 kB / 3.224 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008643/6.424, allocations: 0.9822 MB / 3.225 GB, free: 187 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/6.424, allocations: 240.6 kB / 3.225 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/6.424, allocations: 0 / 3.225 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/6.424, allocations: 341.9 kB / 3.225 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/6.426, allocations: 2.131 MB / 3.227 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/6.429, allocations: 2.174 MB / 3.229 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0244/6.453, allocations: 11.36 MB / 3.24 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/6.453, allocations: 3.953 kB / 3.24 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04467/6.498, allocations: 15.54 MB / 3.256 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/6.498, allocations: 397.8 kB / 3.256 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/6.498, allocations: 0 / 3.256 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/6.502, allocations: 0.9531 MB / 3.257 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/6.506, allocations: 0.6553 MB / 3.258 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/6.51, allocations: 4.844 MB / 3.262 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/6.516, allocations: 0.5496 MB / 3.263 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007624/6.517, allocations: 155.9 kB / 3.263 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/6.517, allocations: 4.938 kB / 3.263 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04342/6.561, allocations: 15.22 MB / 3.278 GB, free: 132 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/6.561, allocations: 0 / 3.278 GB, free: 132 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/6.564, allocations: 0.8752 MB / 3.279 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004437/6.568, allocations: 0.6514 MB / 3.279 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006134/6.574, allocations: 8.223 MB / 3.287 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005754/6.58, allocations: 0.542 MB / 3.288 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007437/6.581, allocations: 151.9 kB / 3.288 GB, free: 120.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008245/6.582, allocations: 175.8 kB / 3.288 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000927/6.583, allocations: 260.8 kB / 3.288 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/6.605, allocations: 5.211 MB / 3.294 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/6.605, allocations: 15.88 kB / 3.294 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/6.605, allocations: 8 kB / 3.294 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/6.605, allocations: 0 / 3.294 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007466/6.613, allocations: 3.508 MB / 3.297 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/6.613, allocations: 4 kB / 3.297 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004351/6.617, allocations: 0.6086 MB / 3.298 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008434/6.618, allocations: 197.5 kB / 3.298 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000564/6.619, allocations: 71.83 kB / 3.298 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/6.621, allocations: 2.08 MB / 3.3 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/6.621, allocations: 3.953 kB / 3.3 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/6.646, allocations: 4.872 MB / 3.305 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003488/6.65, allocations: 1.111 MB / 3.306 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/6.652, allocations: 51.97 kB / 3.306 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005722/6.657, allocations: 0.5461 MB / 3.306 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004697/6.658, allocations: 88.59 kB / 3.306 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006477/6.659, allocations: 139.9 kB / 3.307 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.007319/6.666, allocations: 3.021 MB / 3.309 GB, free: 98.69 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.72e-07/6.666, allocations: 0 / 3.309 GB, free: 98.69 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008311/6.674, allocations: 1.081 MB / 3.311 GB, free: 97.61 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004129/6.678, allocations: 1.273 MB / 3.312 GB, free: 96.33 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01393/6.692, allocations: 7.947 MB / 3.32 GB, free: 88.27 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/6.692, allocations: 3.938 kB / 3.32 GB, free: 88.26 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00282/6.695, allocations: 1.948 MB / 3.321 GB, free: 86.29 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/6.7, allocations: 0.6142 MB / 3.322 GB, free: 85.67 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/6.715, allocations: 5.873 MB / 3.328 GB, free: 79.76 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/6.717, allocations: 2.138 MB / 3.33 GB, free: 77.59 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009846/6.727, allocations: 2.864 MB / 3.333 GB, free: 74.71 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/6.729, allocations: 191.2 kB / 3.333 GB, free: 74.53 MB / 0.9323 GB Notification: Performance of SimCode: time 1.103e-06/6.729, allocations: 0 / 3.333 GB, free: 74.53 MB / 0.9323 GB Notification: Performance of Templates: time 0.09411/6.823, allocations: 63.65 MB / 3.395 GB, free: 10.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)