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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001333, allocations: 188.2 kB / 326.5 MB, free: 2.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.768/1.768, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008768/0.0008769, allocations: 95.3 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003512, allocations: 12.81 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 106.3 MB / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.578/4.776, allocations: 2.198 GB / 3.098 GB, free: 22.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/4.777, allocations: 109.5 kB / 3.098 GB, free: 22.18 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8569/5.633, allocations: 158.6 MB / 3.253 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.843e-06/5.633, allocations: 4 kB / 3.253 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002863/5.634, allocations: 32 kB / 3.253 GB, free: 229.7 MB / 0.8855 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.008345/5.642, allocations: 3.064 MB / 3.256 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/5.642, allocations: 8.031 kB / 3.256 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005452/5.643, allocations: 102.5 kB / 3.256 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02284/5.666, allocations: 2.931 MB / 3.259 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008742/5.674, allocations: 2.87 MB / 3.262 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005182/5.675, allocations: 198.2 kB / 3.262 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006253/5.676, allocations: 56.34 kB / 3.262 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/5.687, allocations: 3.574 MB / 3.266 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/5.687, allocations: 3.938 kB / 3.266 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006867/5.687, allocations: 23.98 kB / 3.266 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/5.687, allocations: 12 kB / 3.266 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/5.704, allocations: 5.441 MB / 3.271 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/5.727, allocations: 8.803 MB / 3.28 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/5.747, allocations: 5.787 MB / 3.285 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/5.747, allocations: 28.52 kB / 3.285 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008741/5.756, allocations: 3.296 MB / 3.289 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 4.94e-06/5.756, allocations: 0 / 3.289 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.04873/5.804, allocations: 9.655 MB / 3.298 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/5.805, allocations: 101.8 kB / 3.298 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008998/5.814, allocations: 4.187 MB / 3.302 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001152/5.815, allocations: 61.69 kB / 3.302 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/5.817, allocations: 1.002 MB / 3.303 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008193/5.817, allocations: 244.6 kB / 3.303 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005854/5.818, allocations: 16 kB / 3.303 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001713/5.818, allocations: 349.9 kB / 3.304 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008129/5.826, allocations: 3.071 MB / 3.307 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008022/5.834, allocations: 3.106 MB / 3.31 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/5.842, allocations: 2.645 MB / 3.312 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/5.842, allocations: 0 / 3.312 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.03721/5.879, allocations: 7.809 MB / 3.32 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/5.88, allocations: 395.3 kB / 3.32 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/5.88, allocations: 0 / 3.32 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004333/5.884, allocations: 1.039 MB / 3.321 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/5.888, allocations: 0.6476 MB / 3.322 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/5.893, allocations: 4.908 MB / 3.327 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00591/5.899, allocations: 0.5807 MB / 3.327 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008617/5.9, allocations: 151.9 kB / 3.328 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/5.9, allocations: 4 kB / 3.328 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03521/5.935, allocations: 7.541 MB / 3.335 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/5.935, allocations: 0 / 3.335 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/5.938, allocations: 0.926 MB / 3.336 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/5.943, allocations: 0.6514 MB / 3.336 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/5.95, allocations: 8.65 MB / 3.345 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005832/5.956, allocations: 0.5731 MB / 3.345 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008299/5.957, allocations: 147.8 kB / 3.346 GB, free: 133.5 MB / 0.8855 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.00318/5.96, allocations: 1.166 MB / 3.347 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/5.962, allocations: 260.8 kB / 3.347 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03588/5.998, allocations: 6.877 MB / 3.354 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/5.998, allocations: 4 kB / 3.354 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/5.998, allocations: 4 kB / 3.354 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/5.998, allocations: 7.938 kB / 3.354 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006941/6.005, allocations: 3.589 MB / 3.357 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/6.005, allocations: 0 / 3.357 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004084/6.009, allocations: 0.6124 MB / 3.358 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/6.01, allocations: 253.4 kB / 3.358 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005486/6.011, allocations: 75.88 kB / 3.358 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/6.013, allocations: 2.202 MB / 3.36 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/6.013, allocations: 7.938 kB / 3.36 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03492/6.048, allocations: 6.512 MB / 3.367 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/6.052, allocations: 1.118 MB / 3.368 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/6.053, allocations: 67.97 kB / 3.368 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005518/6.059, allocations: 0.5539 MB / 3.368 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/6.059, allocations: 76.53 kB / 3.368 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000604/6.06, allocations: 143.9 kB / 3.369 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006987/6.067, allocations: 3.209 MB / 3.372 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.21e-07/6.067, allocations: 4 kB / 3.372 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006489/6.074, allocations: 1.136 MB / 3.373 GB, free: 105.3 MB / 0.8855 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.0228/6.096, allocations: 7.13 MB / 3.38 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02833/6.125, allocations: 10.74 MB / 3.39 GB, free: 87.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/6.125, allocations: 4 kB / 3.39 GB, free: 87.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008563/6.133, allocations: 2.906 MB / 3.393 GB, free: 84.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/6.138, allocations: 0.6415 MB / 3.394 GB, free: 83.65 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/6.165, allocations: 9.812 MB / 3.403 GB, free: 73.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/6.167, allocations: 2.132 MB / 3.405 GB, free: 71.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005555/6.173, allocations: 1.421 MB / 3.407 GB, free: 70.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/6.175, allocations: 0.9287 MB / 3.408 GB, free: 69.17 MB / 0.8855 GB Notification: Performance of SimCode: time 8.61e-07/6.175, allocations: 4 kB / 3.408 GB, free: 69.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6376/6.813, allocations: 100.9 MB / 3.506 GB, free: 268.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/6.813, allocations: 275.5 kB / 3.506 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.898/11.71, allocations: 0 / 3.506 GB, free: 268.1 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)