Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004554/0.004554, allocations: 100.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 192.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.6353, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004458/0.6398, allocations: 3.091 MB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004544/0.6444, allocations: 3.321 MB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.6446, allocations: 4 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.6461, allocations: 0.5634 MB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.6464, allocations: 131 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.6481, allocations: 0.7149 MB / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.6498, allocations: 1.681 MB / 1.229 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.6502, allocations: 257.2 kB / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.6509, allocations: 0.584 MB / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000833/0.6518, allocations: 0.6072 MB / 1.231 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.6521, allocations: 136 kB / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.6531, allocations: 0.6555 MB / 1.232 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005406/0.6537, allocations: 0.6156 MB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007974/0.6545, allocations: 0.8823 MB / 1.233 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.6575, allocations: 3.434 MB / 1.236 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6575, allocations: 0 / 1.236 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6575, allocations: 0 / 1.236 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.6576, allocations: 0 / 1.236 GB, free: 1.34 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003047/0.6606, allocations: 2.237 MB / 1.239 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.6607, allocations: 12.03 kB / 1.239 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.6608, allocations: 74.72 kB / 1.239 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005899/0.6667, allocations: 0.6592 MB / 1.239 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.669, allocations: 1.645 MB / 1.241 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.6692, allocations: 144.5 kB / 1.241 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/0.6693, allocations: 28.38 kB / 1.241 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.6727, allocations: 1.887 MB / 1.243 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6728, allocations: 4 kB / 1.243 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6729, allocations: 16 kB / 1.243 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.6729, allocations: 4 kB / 1.243 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/0.6783, allocations: 2.618 MB / 1.246 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007334/0.6856, allocations: 4.601 MB / 1.25 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009907/0.6955, allocations: 2.904 MB / 1.253 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.6979, allocations: 1.185 MB / 1.254 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.698, allocations: 16.42 kB / 1.254 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003198/0.7012, allocations: 1.781 MB / 1.256 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=61): time 2.935e-06/0.7012, allocations: 0 / 1.256 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61): time 0.008042/0.7093, allocations: 3.642 MB / 1.259 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.7094, allocations: 101.7 kB / 1.259 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.7131, allocations: 2.755 MB / 1.262 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.7132, allocations: 53.69 kB / 1.262 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/0.7139, allocations: 0.6933 MB / 1.263 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.7141, allocations: 194.4 kB / 1.263 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.7145, allocations: 154.1 kB / 1.263 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7146, allocations: 333.9 kB / 1.264 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/0.7173, allocations: 1.454 MB / 1.265 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.72, allocations: 1.434 MB / 1.266 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/0.7246, allocations: 2.215 MB / 1.268 GB, free: 124 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7246, allocations: 4 kB / 1.268 GB, free: 120 kB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00623/0.7309, allocations: 2.984 MB / 1.271 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/0.731, allocations: 83.38 kB / 1.271 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.731, allocations: 0 / 1.271 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.731, allocations: 4 kB / 1.271 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7323, allocations: 187.6 kB / 1.272 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.7324, allocations: 4 kB / 1.272 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.7337, allocations: 107.6 kB / 1.272 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.7338, allocations: 51.88 kB / 1.272 GB, free: 12.67 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001179/0.735, allocations: 0.7841 MB / 1.273 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.7353, allocations: 186.8 kB / 1.273 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/0.7411, allocations: 2.677 MB / 1.275 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.7411, allocations: 8 kB / 1.275 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7411, allocations: 0 / 1.275 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.7411, allocations: 3.984 kB / 1.275 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.7436, allocations: 2.323 MB / 1.278 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7436, allocations: 4 kB / 1.278 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.7449, allocations: 175.7 kB / 1.278 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.7449, allocations: 4 kB / 1.278 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.142e-05/0.745, allocations: 39.88 kB / 1.278 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.745, allocations: 4 kB / 1.278 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.745, allocations: 0 / 1.278 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/0.7504, allocations: 2.572 MB / 1.28 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.7513, allocations: 0.5894 MB / 1.281 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.7516, allocations: 55.97 kB / 1.281 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.7529, allocations: 123.8 kB / 1.281 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.7531, allocations: 60.48 kB / 1.281 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7532, allocations: 43.94 kB / 1.281 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002694/0.7559, allocations: 1.98 MB / 1.283 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7559, allocations: 4 kB / 1.283 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009417/0.7569, allocations: 379.7 kB / 1.284 GB, free: 0.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[4],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,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006181/0.7631, allocations: 3.27 MB / 1.287 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005622/0.7687, allocations: 2.985 MB / 1.29 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7687, allocations: 0 / 1.29 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.7714, allocations: 1.346 MB / 1.291 GB, free: 8.828 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.7733, allocations: 474.6 kB / 1.291 GB, free: 8.367 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/0.8185, allocations: 28.48 MB / 1.319 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.8198, allocations: 1.604 MB / 1.321 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001615/0.8214, allocations: 0.6032 MB / 1.321 GB, free: 9.395 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009661/0.8224, allocations: 0.5812 MB / 1.322 GB, free: 8.812 MB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/0.8224, allocations: 0 / 1.322 GB, free: 8.812 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/0.9258, allocations: 51.11 MB / 1.372 GB, free: 6.137 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.64, allocations: 4.656 kB / 1.372 GB, free: 6.133 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)