Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001154/0.001154, allocations: 183.2 kB / 371.6 MB, free: 3.434 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.835/1.835, allocations: 205.2 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.001058/0.001059, allocations: 90.14 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.198e-05, allocations: 11.98 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3026, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.961/6.263, allocations: 2.082 GB / 3.062 GB, free: 159.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/6.264, allocations: 105.4 kB / 3.062 GB, free: 159.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.935/7.199, allocations: 159.3 MB / 3.217 GB, free: 222.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.447e-06/7.199, allocations: 1.375 kB / 3.217 GB, free: 222.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002154/7.199, allocations: 36.47 kB / 3.217 GB, free: 222.4 MB / 0.948 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.006071/7.205, allocations: 2.225 MB / 3.219 GB, free: 221.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/7.205, allocations: 7.531 kB / 3.219 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02318/7.228, allocations: 2.929 MB / 3.222 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00847/7.237, allocations: 2.833 MB / 3.225 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/7.237, allocations: 196.3 kB / 3.225 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/7.238, allocations: 58.52 kB / 3.225 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/7.243, allocations: 2.639 MB / 3.228 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/7.243, allocations: 0.8906 kB / 3.228 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/7.243, allocations: 23.31 kB / 3.228 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/7.243, allocations: 11.19 kB / 3.228 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006757/7.25, allocations: 3.58 MB / 3.231 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02429/7.275, allocations: 8.819 MB / 3.24 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009597/7.284, allocations: 4.005 MB / 3.244 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/7.287, allocations: 1.626 MB / 3.245 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/7.287, allocations: 22.73 kB / 3.246 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00356/7.29, allocations: 2.362 MB / 3.248 GB, free: 220 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 5.42e-06/7.29, allocations: 0.6562 kB / 3.248 GB, free: 220 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.02259/7.313, allocations: 4.684 MB / 3.252 GB, free: 219.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/7.313, allocations: 99.8 kB / 3.252 GB, free: 219.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009252/7.322, allocations: 4.141 MB / 3.257 GB, free: 219.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/7.323, allocations: 59.42 kB / 3.257 GB, free: 219.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/7.325, allocations: 1.006 MB / 3.258 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008433/7.326, allocations: 246.7 kB / 3.258 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005716/7.326, allocations: 20.06 kB / 3.258 GB, free: 219.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001376/7.327, allocations: 339.5 kB / 3.258 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/7.33, allocations: 2.137 MB / 3.26 GB, free: 218.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/7.333, allocations: 2.175 MB / 3.262 GB, free: 218.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/7.336, allocations: 1.758 MB / 3.264 GB, free: 218.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/7.336, allocations: 0 / 3.264 GB, free: 218.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.02462/7.36, allocations: 5.972 MB / 3.27 GB, free: 217.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003288/7.361, allocations: 385.9 kB / 3.27 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/7.361, allocations: 0 / 3.27 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004283/7.365, allocations: 0.9976 MB / 3.271 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/7.37, allocations: 0.6571 MB / 3.272 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/7.374, allocations: 4.825 MB / 3.277 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006108/7.38, allocations: 0.5793 MB / 3.277 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/7.381, allocations: 157.1 kB / 3.277 GB, free: 212.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/7.381, allocations: 3.094 kB / 3.277 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02389/7.405, allocations: 5.703 MB / 3.283 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/7.405, allocations: 3.5 kB / 3.283 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/7.409, allocations: 0.8773 MB / 3.284 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/7.414, allocations: 0.6515 MB / 3.284 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/7.422, allocations: 8.51 MB / 3.293 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005974/7.428, allocations: 0.571 MB / 3.293 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008925/7.429, allocations: 150.1 kB / 3.293 GB, free: 202.8 MB / 0.948 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.001433/7.43, allocations: 209.4 kB / 3.294 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/7.432, allocations: 255.5 kB / 3.294 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02229/7.454, allocations: 5.047 MB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/7.454, allocations: 6.125 kB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/7.454, allocations: 4.188 kB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/7.454, allocations: 7.375 kB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007929/7.462, allocations: 3.59 MB / 3.302 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/7.462, allocations: 0 / 3.302 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004221/7.467, allocations: 0.6107 MB / 3.303 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008967/7.468, allocations: 205.1 kB / 3.303 GB, free: 199.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006259/7.468, allocations: 77 kB / 3.303 GB, free: 199.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/7.47, allocations: 2.137 MB / 3.305 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/7.471, allocations: 0 / 3.305 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02224/7.493, allocations: 4.684 MB / 3.31 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/7.496, allocations: 1.116 MB / 3.311 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001724/7.498, allocations: 67.28 kB / 3.311 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006158/7.504, allocations: 0.5442 MB / 3.312 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005412/7.505, allocations: 87.28 kB / 3.312 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000796/7.506, allocations: 141.7 kB / 3.312 GB, free: 195 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007791/7.514, allocations: 3.166 MB / 3.315 GB, free: 193.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.01e-07/7.514, allocations: 4 kB / 3.315 GB, free: 193.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007478/7.521, allocations: 1.139 MB / 3.316 GB, free: 193.7 MB / 0.948 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.003417/7.525, allocations: 1.151 MB / 3.317 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01504/7.54, allocations: 8.052 MB / 3.325 GB, free: 189.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/7.54, allocations: 2 kB / 3.325 GB, free: 189.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003722/7.543, allocations: 1.971 MB / 3.327 GB, free: 188.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/7.548, allocations: 0.6319 MB / 3.327 GB, free: 188.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/7.566, allocations: 5.928 MB / 3.333 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/7.569, allocations: 2.138 MB / 3.335 GB, free: 185.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01222/7.581, allocations: 2.868 MB / 3.338 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/7.583, allocations: 189.3 kB / 3.338 GB, free: 185.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/7.583, allocations: 0 / 3.338 GB, free: 185.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1251/7.708, allocations: 80.32 MB / 3.417 GB, free: 162.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)