Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 220 kB / 23.03 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.206/3.206, allocations: 0.5003 GB / 0.8062 GB, free: 28.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 69.77 kB / 1.17 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004318/0.3452, allocations: 2.86 MB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004623/0.3498, allocations: 3.08 MB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.3501, allocations: 7.938 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3515, allocations: 0.5131 MB / 1.352 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.3518, allocations: 131 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.3536, allocations: 0.7211 MB / 1.352 GB, free: 8.621 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.3555, allocations: 1.686 MB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.3558, allocations: 113.8 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.3566, allocations: 0.5997 MB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/0.3574, allocations: 0.6267 MB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.3576, allocations: 136 kB / 1.355 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.3589, allocations: 0.71 MB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006377/0.3596, allocations: 0.6272 MB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008868/0.3604, allocations: 0.653 MB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.3644, allocations: 3.461 MB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3644, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3644, allocations: 4 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.13e-05/0.3644, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 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.003877/0.3683, allocations: 2.162 MB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3684, allocations: 12.03 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.444e-05/0.3684, allocations: 8.188 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.3685, allocations: 74.72 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007253/0.3758, allocations: 0.7254 MB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.3791, allocations: 1.618 MB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.3794, allocations: 199.9 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.3795, allocations: 40.11 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/0.3833, allocations: 1.979 MB / 1.367 GB, free: 9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3833, allocations: 0 / 1.367 GB, free: 9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.3834, allocations: 12 kB / 1.367 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3834, allocations: 8 kB / 1.367 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005537/0.389, allocations: 2.741 MB / 1.37 GB, free: 6.227 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008861/0.3978, allocations: 4.258 MB / 1.374 GB, free: 1.914 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.4084, allocations: 2.97 MB / 1.377 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/0.4111, allocations: 1.222 MB / 1.378 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.219e-05/0.4112, allocations: 16.42 kB / 1.378 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003766/0.415, allocations: 1.867 MB / 1.38 GB, free: 11.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=61): time 4.268e-06/0.415, allocations: 0 / 1.38 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=61): time 0.00886/0.4238, allocations: 3.862 MB / 1.384 GB, free: 7.902 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.4239, allocations: 97.55 kB / 1.384 GB, free: 7.789 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00467/0.4286, allocations: 2.755 MB / 1.387 GB, free: 4.988 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004065/0.429, allocations: 49.7 kB / 1.387 GB, free: 4.934 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00077/0.4298, allocations: 0.701 MB / 1.388 GB, free: 4.227 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.4301, allocations: 190.4 kB / 1.388 GB, free: 4.039 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.4305, allocations: 170 kB / 1.388 GB, free: 3.863 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4307, allocations: 333.9 kB / 1.388 GB, free: 3.531 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/0.4336, allocations: 1.579 MB / 1.39 GB, free: 1.938 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/0.4364, allocations: 1.558 MB / 1.391 GB, free: 376 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004756/0.4412, allocations: 2.317 MB / 1.394 GB, free: 14.02 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4412, allocations: 3.984 kB / 1.394 GB, free: 14.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006475/0.4477, allocations: 3.188 MB / 1.397 GB, free: 10.8 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.629e-05/0.4478, allocations: 79.38 kB / 1.397 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4478, allocations: 0 / 1.397 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4478, allocations: 8 kB / 1.397 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.4493, allocations: 195.7 kB / 1.397 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.4493, allocations: 4 kB / 1.397 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.451, allocations: 115.6 kB / 1.397 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.4512, allocations: 51.92 kB / 1.397 GB, free: 10.34 MB / 1.092 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.001257/0.4524, allocations: 0.7802 MB / 1.398 GB, free: 9.547 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.4529, allocations: 182.8 kB / 1.398 GB, free: 9.367 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006115/0.459, allocations: 2.825 MB / 1.401 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.459, allocations: 4 kB / 1.401 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.459, allocations: 4 kB / 1.401 GB, free: 6.504 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.459, allocations: 7.922 kB / 1.401 GB, free: 6.496 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.4621, allocations: 1.959 MB / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4621, allocations: 0 / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.4637, allocations: 191.7 kB / 1.403 GB, free: 4.301 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.4637, allocations: 8 kB / 1.403 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.4638, allocations: 43.92 kB / 1.403 GB, free: 4.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4638, allocations: 0 / 1.403 GB, free: 4.25 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4638, allocations: 7.922 kB / 1.403 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/0.4698, allocations: 2.716 MB / 1.406 GB, free: 1.496 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.4711, allocations: 0.5414 MB / 1.406 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/0.4715, allocations: 63.97 kB / 1.406 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.4732, allocations: 115.9 kB / 1.406 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.4733, allocations: 56.41 kB / 1.406 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.4735, allocations: 51.86 kB / 1.406 GB, free: 0.668 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003058/0.4765, allocations: 1.984 MB / 1.408 GB, free: 14.66 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4765, allocations: 0 / 1.408 GB, free: 14.66 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001304/0.4778, allocations: 375.7 kB / 1.409 GB, free: 14.29 MB / 1.107 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.006765/0.4846, allocations: 3.403 MB / 1.412 GB, free: 10.85 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006002/0.4906, allocations: 3.087 MB / 1.415 GB, free: 7.719 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4906, allocations: 0 / 1.415 GB, free: 7.719 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.4934, allocations: 1.374 MB / 1.416 GB, free: 6.328 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.4955, allocations: 456.9 kB / 1.417 GB, free: 5.879 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05431/0.5498, allocations: 29.15 MB / 1.445 GB, free: 8.426 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.551, allocations: 1.011 MB / 1.446 GB, free: 7.371 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002075/0.5531, allocations: 0.6266 MB / 1.447 GB, free: 6.742 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.5543, allocations: 0.5929 MB / 1.447 GB, free: 6.152 MB / 1.139 GB Notification: Performance of SimCode: time 1.223e-06/0.5543, allocations: 0 / 1.447 GB, free: 6.152 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09523/0.6496, allocations: 54.93 MB / 1.501 GB, free: 15.69 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.49, allocations: 12 kB / 1.501 GB, free: 15.68 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.397087801015005] Failed to read output from testmodel.py, exit status != 0: 15.689214495010674 15.713094607 15.344141767 Calling exit ...