Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.671/2.671, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.00149/0.00149, allocations: 175.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001581/0.00158, allocations: 86.86 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005372/0.0005373, allocations: 13.23 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2194, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.671/6.891, allocations: 2.081 GB / 3.059 GB, free: 204.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/6.891, allocations: 114.2 kB / 3.059 GB, free: 204.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5328/7.424, allocations: 159.4 MB / 3.215 GB, free: 53.19 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.775e-06/7.424, allocations: 0 / 3.215 GB, free: 53.19 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002778/7.424, allocations: 36 kB / 3.215 GB, free: 53.15 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.01076/7.435, allocations: 3.068 MB / 3.218 GB, free: 50.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/7.435, allocations: 12.02 kB / 3.218 GB, free: 50 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006152/7.436, allocations: 98.52 kB / 3.218 GB, free: 49.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04093/7.477, allocations: 2.927 MB / 3.221 GB, free: 46.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008792/7.486, allocations: 2.878 MB / 3.224 GB, free: 44.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007484/7.487, allocations: 194.2 kB / 3.224 GB, free: 43.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008958/7.487, allocations: 64.34 kB / 3.224 GB, free: 43.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/7.505, allocations: 3.57 MB / 3.227 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/7.505, allocations: 0 / 3.227 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/7.505, allocations: 24 kB / 3.227 GB, free: 40.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/7.505, allocations: 8 kB / 3.227 GB, free: 40.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03021/7.535, allocations: 5.449 MB / 3.233 GB, free: 34.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03375/7.569, allocations: 8.806 MB / 3.241 GB, free: 25.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03852/7.608, allocations: 5.778 MB / 3.247 GB, free: 20 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/7.608, allocations: 28.52 kB / 3.247 GB, free: 19.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01628/7.624, allocations: 3.3 MB / 3.25 GB, free: 16.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.519e-06/7.624, allocations: 0 / 3.25 GB, free: 16.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.08799/7.712, allocations: 9.663 MB / 3.26 GB, free: 6.898 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/7.713, allocations: 97.77 kB / 3.26 GB, free: 6.785 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/7.724, allocations: 4.194 MB / 3.264 GB, free: 2.578 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009152/7.725, allocations: 53.7 kB / 3.264 GB, free: 2.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00191/7.727, allocations: 1.002 MB / 3.265 GB, free: 1.508 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008227/7.728, allocations: 240.6 kB / 3.265 GB, free: 1.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005181/7.729, allocations: 20 kB / 3.265 GB, free: 1.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001253/7.729, allocations: 349.9 kB / 3.265 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6677/8.396, allocations: 3.068 MB / 3.268 GB, free: 275.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01749/8.414, allocations: 3.108 MB / 3.271 GB, free: 275.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/8.43, allocations: 2.642 MB / 3.274 GB, free: 275.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/8.43, allocations: 0.7812 kB / 3.274 GB, free: 275.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.07102/8.501, allocations: 7.805 MB / 3.282 GB, free: 275.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002616/8.502, allocations: 389.2 kB / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/8.502, allocations: 0 / 3.282 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008041/8.51, allocations: 1.04 MB / 3.283 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008331/8.518, allocations: 0.6543 MB / 3.284 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/8.526, allocations: 4.899 MB / 3.288 GB, free: 271.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009662/8.536, allocations: 0.5822 MB / 3.289 GB, free: 271.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/8.537, allocations: 149.2 kB / 3.289 GB, free: 271.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/8.537, allocations: 3.781 kB / 3.289 GB, free: 271.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06739/8.604, allocations: 7.548 MB / 3.297 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/8.604, allocations: 3.641 kB / 3.297 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006093/8.61, allocations: 0.9218 MB / 3.297 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008185/8.618, allocations: 0.6514 MB / 3.298 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/8.63, allocations: 8.653 MB / 3.307 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009295/8.639, allocations: 0.5674 MB / 3.307 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009283/8.64, allocations: 152.4 kB / 3.307 GB, free: 264.1 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.003462/8.644, allocations: 1.16 MB / 3.308 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/8.645, allocations: 253.2 kB / 3.309 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0663/8.711, allocations: 6.879 MB / 3.315 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/8.711, allocations: 7.031 kB / 3.315 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/8.711, allocations: 3.469 kB / 3.315 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/8.711, allocations: 3.797 kB / 3.315 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007049/8.718, allocations: 3.6 MB / 3.319 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/8.719, allocations: 0 / 3.319 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00755/8.726, allocations: 0.6149 MB / 3.319 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/8.728, allocations: 252.3 kB / 3.32 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005632/8.729, allocations: 71.09 kB / 3.32 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004016/8.733, allocations: 2.202 MB / 3.322 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/8.733, allocations: 0 / 3.322 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06245/8.795, allocations: 6.516 MB / 3.328 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003562/8.799, allocations: 1.124 MB / 3.329 GB, free: 260.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/8.8, allocations: 61.33 kB / 3.329 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009346/8.81, allocations: 0.5509 MB / 3.33 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005124/8.81, allocations: 87.7 kB / 3.33 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006744/8.811, allocations: 139.3 kB / 3.33 GB, free: 260.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008352/8.819, allocations: 3.215 MB / 3.333 GB, free: 259.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/8.819, allocations: 0 / 3.333 GB, free: 259.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006531/8.826, allocations: 1.141 MB / 3.334 GB, free: 259.2 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.03897/8.865, allocations: 7.13 MB / 3.341 GB, free: 256.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.05294/8.918, allocations: 10.74 MB / 3.352 GB, free: 253 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/8.918, allocations: 0 / 3.352 GB, free: 253 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/8.934, allocations: 2.902 MB / 3.355 GB, free: 252 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/8.939, allocations: 0.6413 MB / 3.355 GB, free: 251.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03866/8.977, allocations: 9.818 MB / 3.365 GB, free: 247.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/8.98, allocations: 2.138 MB / 3.367 GB, free: 246.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009225/8.989, allocations: 1.418 MB / 3.368 GB, free: 246.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003914/8.993, allocations: 0.9225 MB / 3.369 GB, free: 245.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/8.993, allocations: 4 kB / 3.369 GB, free: 245.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2038/9.197, allocations: 100.9 MB / 3.468 GB, free: 163.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/9.197, allocations: 267.4 kB / 3.468 GB, free: 163.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.924/15.12, allocations: 0 / 3.468 GB, free: 163.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)