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.001591/0.001591, allocations: 116.1 kB / 17.17 MB, free: 6 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.001936/0.001936, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.965/2.965, allocations: 0.5003 GB / 0.8026 GB, free: 6.918 MB / 0.6387 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.002209/0.002209, allocations: 63.91 kB / 1.165 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9217, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004286/0.926, allocations: 3.123 MB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004734/0.9307, allocations: 3.38 MB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004479/0.9312, allocations: 8.062 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.9331, allocations: 0.5681 MB / 1.347 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.9335, allocations: 136.4 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.936, allocations: 0.7027 MB / 1.348 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002337/0.9384, allocations: 1.685 MB / 1.35 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.9387, allocations: 167.5 kB / 1.35 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.9397, allocations: 0.591 MB / 1.35 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.9408, allocations: 0.6353 MB / 1.351 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.9412, allocations: 137 kB / 1.351 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.9428, allocations: 0.6605 MB / 1.352 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007028/0.9435, allocations: 0.6243 MB / 1.352 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.9446, allocations: 0.8764 MB / 1.353 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005724/0.9504, allocations: 3.435 MB / 1.356 GB, free: 7.516 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.9504, allocations: 1.062 kB / 1.356 GB, free: 7.516 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9504, allocations: 0 / 1.356 GB, free: 7.516 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.61e-05/0.9505, allocations: 0 / 1.356 GB, free: 7.516 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.00624/0.9567, allocations: 2.231 MB / 1.359 GB, free: 6.008 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.9568, allocations: 11.45 kB / 1.359 GB, free: 6.008 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.705e-05/0.9568, allocations: 5.031 kB / 1.359 GB, free: 6.008 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.9569, allocations: 80.09 kB / 1.359 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007848/0.9648, allocations: 0.7172 MB / 1.359 GB, free: 5.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.9684, allocations: 1.657 MB / 1.361 GB, free: 4.859 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.9687, allocations: 141.4 kB / 1.361 GB, free: 4.777 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.9688, allocations: 34.45 kB / 1.361 GB, free: 4.766 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004196/0.973, allocations: 1.943 MB / 1.363 GB, free: 4.148 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.9731, allocations: 7.938 kB / 1.363 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.9732, allocations: 17.56 kB / 1.363 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.9732, allocations: 10.61 kB / 1.363 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005897/0.9791, allocations: 2.712 MB / 1.366 GB, free: 3.336 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009649/0.9888, allocations: 4.705 MB / 1.37 GB, free: 1.398 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.9995, allocations: 2.934 MB / 1.373 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/1.002, allocations: 1.196 MB / 1.374 GB, free: 164 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.962e-05/1.002, allocations: 18.84 kB / 1.374 GB, free: 156 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004099/1.006, allocations: 1.83 MB / 1.376 GB, free: 15.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=61): time 3.968e-06/1.006, allocations: 0 / 1.376 GB, free: 15.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=61): time 0.01083/1.017, allocations: 3.803 MB / 1.38 GB, free: 14.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.017, allocations: 96.39 kB / 1.38 GB, free: 14.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005792/1.023, allocations: 2.757 MB / 1.383 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005649/1.024, allocations: 56.39 kB / 1.383 GB, free: 13.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000924/1.025, allocations: 0.6962 MB / 1.383 GB, free: 12.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/1.025, allocations: 191.8 kB / 1.384 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/1.026, allocations: 167.2 kB / 1.384 GB, free: 12.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.026, allocations: 330.5 kB / 1.384 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.029, allocations: 1.501 MB / 1.386 GB, free: 11.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/1.032, allocations: 1.477 MB / 1.387 GB, free: 11.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/1.037, allocations: 2.306 MB / 1.389 GB, free: 10.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.037, allocations: 1 kB / 1.389 GB, free: 10.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007179/1.045, allocations: 3.095 MB / 1.392 GB, free: 8.527 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.045, allocations: 79.69 kB / 1.392 GB, free: 8.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.045, allocations: 0 / 1.392 GB, free: 8.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.045, allocations: 2.125 kB / 1.392 GB, free: 8.453 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/1.046, allocations: 203.3 kB / 1.393 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.046, allocations: 1.656 kB / 1.393 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.048, allocations: 113.9 kB / 1.393 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.048, allocations: 49.42 kB / 1.393 GB, free: 8.285 MB / 1.076 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.001636/1.05, allocations: 0.7878 MB / 1.393 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006454/1.051, allocations: 187.1 kB / 1.394 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006631/1.057, allocations: 2.787 MB / 1.396 GB, free: 6.258 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/1.057, allocations: 10.38 kB / 1.396 GB, free: 6.254 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.057, allocations: 0 / 1.396 GB, free: 6.254 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.057, allocations: 8.828 kB / 1.396 GB, free: 6.246 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/1.061, allocations: 2.38 MB / 1.399 GB, free: 4.645 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.061, allocations: 0 / 1.399 GB, free: 4.645 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/1.063, allocations: 192 kB / 1.399 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.063, allocations: 1.469 kB / 1.399 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/1.063, allocations: 47.14 kB / 1.399 GB, free: 4.535 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/1.063, allocations: 6.25 kB / 1.399 GB, free: 4.531 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.063, allocations: 0 / 1.399 GB, free: 4.531 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006577/1.069, allocations: 2.667 MB / 1.402 GB, free: 3.199 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.071, allocations: 0.602 MB / 1.402 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004837/1.072, allocations: 60.25 kB / 1.402 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.073, allocations: 117.6 kB / 1.402 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.074, allocations: 64.36 kB / 1.402 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.074, allocations: 60.33 kB / 1.402 GB, free: 2.598 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003632/1.077, allocations: 1.977 MB / 1.404 GB, free: 1.516 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.51e-07/1.077, allocations: 0 / 1.404 GB, free: 1.516 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002145/1.079, allocations: 371.2 kB / 1.405 GB, free: 1.477 MB / 1.076 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.007702/1.087, allocations: 3.368 MB / 1.408 GB, free: 15.57 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00638/1.094, allocations: 2.974 MB / 1.411 GB, free: 14.12 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.094, allocations: 5.438 kB / 1.411 GB, free: 14.11 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/1.097, allocations: 1.33 MB / 1.412 GB, free: 13.46 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/1.101, allocations: 473.2 kB / 1.413 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.061/1.162, allocations: 28.75 MB / 1.441 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/1.163, allocations: 1.612 MB / 1.442 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002451/1.166, allocations: 0.6266 MB / 1.443 GB, free: 14.52 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.167, allocations: 0.5929 MB / 1.444 GB, free: 13.93 MB / 1.123 GB Notification: Performance of SimCode: time 1.493e-06/1.167, allocations: 0 / 1.444 GB, free: 13.93 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09323/1.261, allocations: 51.83 MB / 1.494 GB, free: 10.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.99, allocations: 8.719 kB / 1.494 GB, free: 10.52 MB / 1.17 GB " [Timeout remaining time 287] (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: 19.60446795297321] Failed to read output from testmodel.py, exit status != 0: 13.152823966986034 13.176004178 12.221194514 Calling exit ...