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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001036/0.001036, allocations: 185 kB / 371.8 MB, free: 10.29 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.44/1.44, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008532, allocations: 105 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003915, allocations: 17.19 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.97/5.182, allocations: 2.081 GB / 3.06 GB, free: 230.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/5.183, allocations: 112.9 kB / 3.06 GB, free: 230 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3021/5.485, allocations: 159.5 MB / 3.216 GB, free: 68.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.917e-06/5.485, allocations: 3.984 kB / 3.216 GB, free: 68.85 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001359/5.485, allocations: 36 kB / 3.216 GB, free: 68.81 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.007472/5.492, allocations: 3.071 MB / 3.219 GB, free: 65.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/5.492, allocations: 8.031 kB / 3.219 GB, free: 65.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003837/5.493, allocations: 102.5 kB / 3.219 GB, free: 65.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02333/5.516, allocations: 2.931 MB / 3.222 GB, free: 62.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006353/5.523, allocations: 2.859 MB / 3.225 GB, free: 59.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/5.523, allocations: 210.2 kB / 3.225 GB, free: 59.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/5.523, allocations: 56 kB / 3.225 GB, free: 59.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009448/5.533, allocations: 3.57 MB / 3.229 GB, free: 55.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/5.533, allocations: 0 / 3.229 GB, free: 55.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/5.533, allocations: 27.92 kB / 3.229 GB, free: 55.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/5.533, allocations: 16 kB / 3.229 GB, free: 55.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/5.549, allocations: 5.437 MB / 3.234 GB, free: 50.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/5.571, allocations: 8.806 MB / 3.243 GB, free: 41.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02011/5.591, allocations: 5.778 MB / 3.248 GB, free: 35.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/5.592, allocations: 24.53 kB / 3.248 GB, free: 35.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008991/5.601, allocations: 3.303 MB / 3.252 GB, free: 32.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 5.571e-06/5.601, allocations: 0 / 3.252 GB, free: 32.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.04729/5.648, allocations: 9.647 MB / 3.261 GB, free: 22.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/5.648, allocations: 109.7 kB / 3.261 GB, free: 22.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007976/5.656, allocations: 4.183 MB / 3.265 GB, free: 18.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008754/5.657, allocations: 69.62 kB / 3.265 GB, free: 18.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/5.658, allocations: 0.998 MB / 3.266 GB, free: 17.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007362/5.659, allocations: 240.6 kB / 3.266 GB, free: 16.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004517/5.66, allocations: 23.94 kB / 3.266 GB, free: 16.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001331/5.66, allocations: 349.9 kB / 3.267 GB, free: 16.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008217/5.668, allocations: 3.067 MB / 3.27 GB, free: 13.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008309/5.676, allocations: 3.117 MB / 3.273 GB, free: 10.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007907/5.684, allocations: 2.641 MB / 3.275 GB, free: 7.711 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/5.684, allocations: 0 / 3.275 GB, free: 7.711 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.6174/6.302, allocations: 7.795 MB / 3.283 GB, free: 275.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003245/6.302, allocations: 390.7 kB / 3.283 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/6.302, allocations: 1.297 kB / 3.283 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/6.308, allocations: 1.042 MB / 3.284 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/6.313, allocations: 0.6498 MB / 3.285 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006024/6.319, allocations: 4.893 MB / 3.29 GB, free: 271.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006828/6.325, allocations: 0.581 MB / 3.29 GB, free: 271.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008545/6.326, allocations: 149.7 kB / 3.291 GB, free: 271.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/6.326, allocations: 4.469 kB / 3.291 GB, free: 271.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04113/6.368, allocations: 7.549 MB / 3.298 GB, free: 271.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/6.368, allocations: 0.6562 kB / 3.298 GB, free: 271.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004123/6.372, allocations: 0.9249 MB / 3.299 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005058/6.377, allocations: 0.6498 MB / 3.299 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007847/6.385, allocations: 8.653 MB / 3.308 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006015/6.391, allocations: 0.5765 MB / 3.308 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007574/6.392, allocations: 145.2 kB / 3.309 GB, free: 264.2 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 () * Number of clocked 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.003064/6.395, allocations: 1.163 MB / 3.31 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/6.396, allocations: 262.3 kB / 3.31 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03859/6.435, allocations: 6.869 MB / 3.317 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/6.435, allocations: 10.44 kB / 3.317 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/6.435, allocations: 7.891 kB / 3.317 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/6.435, allocations: 0 / 3.317 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007465/6.442, allocations: 3.594 MB / 3.32 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/6.442, allocations: 0 / 3.32 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004309/6.446, allocations: 0.6234 MB / 3.321 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/6.448, allocations: 249.2 kB / 3.321 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005502/6.448, allocations: 72.91 kB / 3.321 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/6.451, allocations: 2.2 MB / 3.323 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/6.451, allocations: 0 / 3.323 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03833/6.489, allocations: 6.513 MB / 3.33 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003919/6.493, allocations: 1.121 MB / 3.331 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/6.495, allocations: 65.09 kB / 3.331 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006253/6.501, allocations: 0.5477 MB / 3.331 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/6.502, allocations: 81.95 kB / 3.331 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007111/6.502, allocations: 140.7 kB / 3.332 GB, free: 261.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008395/6.511, allocations: 3.217 MB / 3.335 GB, free: 261 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/6.511, allocations: 0 / 3.335 GB, free: 261 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008271/6.519, allocations: 1.139 MB / 3.336 GB, free: 261 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]) * Number of clocked states: 0 () * 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.02662/6.546, allocations: 7.14 MB / 3.343 GB, free: 260.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03063/6.576, allocations: 10.75 MB / 3.353 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/6.576, allocations: 0 / 3.353 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008473/6.585, allocations: 2.9 MB / 3.356 GB, free: 256.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/6.589, allocations: 0.6333 MB / 3.357 GB, free: 255.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/6.616, allocations: 9.82 MB / 3.366 GB, free: 251.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/6.618, allocations: 2.13 MB / 3.368 GB, free: 250.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006571/6.625, allocations: 1.421 MB / 3.37 GB, free: 250.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/6.627, allocations: 0.9259 MB / 3.371 GB, free: 249.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/6.627, allocations: 3.828 kB / 3.371 GB, free: 249.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/6.763, allocations: 100.9 MB / 3.469 GB, free: 179.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/6.763, allocations: 290.6 kB / 3.47 GB, free: 178.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.047/11.81, allocations: 0 / 3.47 GB, free: 178.7 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)