Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 179.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 97.2 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.152e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2553, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.222/6.478, allocations: 2.198 GB / 3.083 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/6.478, allocations: 107.9 kB / 3.084 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.272/6.75, allocations: 142.1 MB / 3.222 GB, free: 64.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/6.75, allocations: 3.938 kB / 3.222 GB, free: 64.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001432/6.75, allocations: 40 kB / 3.222 GB, free: 64.93 MB / 0.8698 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.004702/6.755, allocations: 2.219 MB / 3.225 GB, free: 62.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/6.755, allocations: 8.031 kB / 3.225 GB, free: 62.63 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/6.777, allocations: 2.927 MB / 3.227 GB, free: 59.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006106/6.783, allocations: 2.831 MB / 3.23 GB, free: 56.81 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/6.783, allocations: 170.3 kB / 3.23 GB, free: 56.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003566/6.784, allocations: 39.98 kB / 3.23 GB, free: 56.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004153/6.788, allocations: 3.552 MB / 3.234 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/6.791, allocations: 2.581 MB / 3.236 GB, free: 50.44 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/6.791, allocations: 4 kB / 3.236 GB, free: 50.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/6.791, allocations: 4 kB / 3.236 GB, free: 50.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/6.791, allocations: 15.94 kB / 3.236 GB, free: 50.41 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/6.811, allocations: 8.683 MB / 3.245 GB, free: 41.67 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008854/6.819, allocations: 3.978 MB / 3.249 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/6.821, allocations: 1.603 MB / 3.25 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/6.822, allocations: 24.47 kB / 3.25 GB, free: 36.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002626/6.824, allocations: 2.352 MB / 3.253 GB, free: 33.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 4.649e-06/6.824, allocations: 0 / 3.253 GB, free: 33.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.02432/6.849, allocations: 5.132 MB / 3.258 GB, free: 28.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/6.849, allocations: 97.83 kB / 3.258 GB, free: 28.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/6.855, allocations: 3.994 MB / 3.262 GB, free: 24.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009965/6.856, allocations: 41.69 kB / 3.262 GB, free: 24.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/6.857, allocations: 0.99 MB / 3.263 GB, free: 23.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006217/6.858, allocations: 232.7 kB / 3.263 GB, free: 23.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/6.858, allocations: 3.938 kB / 3.263 GB, free: 23.13 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/6.858, allocations: 353.9 kB / 3.263 GB, free: 22.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/6.861, allocations: 2.127 MB / 3.265 GB, free: 20.65 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/6.863, allocations: 2.17 MB / 3.267 GB, free: 18.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02516/6.888, allocations: 11.36 MB / 3.278 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/6.888, allocations: 0 / 3.278 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.5971/7.485, allocations: 15.53 MB / 3.294 GB, free: 247 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002746/7.485, allocations: 390.6 kB / 3.294 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/7.485, allocations: 2.125 kB / 3.294 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/7.489, allocations: 0.9608 MB / 3.295 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004723/7.494, allocations: 0.6506 MB / 3.296 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/7.499, allocations: 4.836 MB / 3.3 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/7.505, allocations: 0.5651 MB / 3.301 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009263/7.506, allocations: 149.9 kB / 3.301 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/7.506, allocations: 4.625 kB / 3.301 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05237/7.558, allocations: 15.21 MB / 3.316 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/7.558, allocations: 1.125 kB / 3.316 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/7.561, allocations: 0.8723 MB / 3.317 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004495/7.566, allocations: 0.6555 MB / 3.317 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/7.572, allocations: 8.22 MB / 3.325 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005483/7.578, allocations: 0.5539 MB / 3.326 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007/7.578, allocations: 151.1 kB / 3.326 GB, free: 236.1 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wetCoi.TADP:VARIABLE(min = 273.15 max = 373.15 unit = "K" ) "Dry bulb temperature of air at ADP" type: Real 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.0009198/7.579, allocations: 186.7 kB / 3.326 GB, free: 236 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009106/7.58, allocations: 249.7 kB / 3.327 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02351/7.604, allocations: 5.213 MB / 3.332 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/7.604, allocations: 6.625 kB / 3.332 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/7.604, allocations: 3.953 kB / 3.332 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/7.604, allocations: 3.797 kB / 3.332 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005823/7.61, allocations: 3.497 MB / 3.335 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/7.61, allocations: 0 / 3.335 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003894/7.614, allocations: 0.6179 MB / 3.336 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007794/7.615, allocations: 202.8 kB / 3.336 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004106/7.615, allocations: 70.03 kB / 3.336 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/7.617, allocations: 2.088 MB / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/7.617, allocations: 0 / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02264/7.64, allocations: 4.879 MB / 3.343 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/7.643, allocations: 1.121 MB / 3.344 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000987/7.644, allocations: 47.31 kB / 3.344 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004743/7.649, allocations: 0.5398 MB / 3.344 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/7.649, allocations: 87.66 kB / 3.344 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/7.649, allocations: 137 kB / 3.345 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004719/7.654, allocations: 3.021 MB / 3.348 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.654, allocations: 0 / 3.348 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004577/7.658, allocations: 1.081 MB / 3.349 GB, free: 233.1 MB / 0.8698 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.002245/7.661, allocations: 1.273 MB / 3.35 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01131/7.672, allocations: 7.95 MB / 3.358 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/7.672, allocations: 0 / 3.358 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/7.675, allocations: 1.947 MB / 3.359 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/7.678, allocations: 0.6096 MB / 3.36 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/7.691, allocations: 5.872 MB / 3.366 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/7.693, allocations: 2.14 MB / 3.368 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008982/7.702, allocations: 2.861 MB / 3.371 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/7.703, allocations: 192.6 kB / 3.371 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/7.703, allocations: 0 / 3.371 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.09127/7.794, allocations: 63.64 MB / 3.433 GB, free: 187.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)