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.001815/0.001815, allocations: 112.6 kB / 19.73 MB, free: 2.094 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.00222/0.00222, allocations: 215.6 kB / 23.04 MB, free: 4.434 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.214/3.214, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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.001913/0.001913, allocations: 66.34 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.394, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005152/0.3992, allocations: 3.125 MB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005553/0.4047, allocations: 3.411 MB / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.4051, allocations: 7.938 kB / 1.352 GB, free: 9.871 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.4068, allocations: 0.5676 MB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.4072, allocations: 131 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.4094, allocations: 0.7229 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.4117, allocations: 1.688 MB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.412, allocations: 109.8 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.4132, allocations: 0.5958 MB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.4146, allocations: 0.6266 MB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005156/0.4151, allocations: 136 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.4168, allocations: 0.7295 MB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008015/0.4176, allocations: 0.6272 MB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.4192, allocations: 0.8745 MB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005192/0.4244, allocations: 3.446 MB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4244, allocations: 4 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4244, allocations: 0 / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.306e-05/0.4245, allocations: 0 / 1.362 GB, free: 15.58 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.005803/0.4303, allocations: 2.167 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4303, allocations: 12.02 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.239e-05/0.4304, allocations: 8.188 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.4306, allocations: 74.72 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007647/0.4383, allocations: 0.7216 MB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/0.4422, allocations: 1.618 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.4426, allocations: 195.9 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.4429, allocations: 36.12 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004341/0.4472, allocations: 1.95 MB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4472, allocations: 0 / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.4474, allocations: 12 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4474, allocations: 8 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006013/0.4535, allocations: 2.712 MB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.4643, allocations: 4.671 MB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.4751, allocations: 2.947 MB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.4779, allocations: 1.193 MB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.478, allocations: 20.41 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004103/0.4821, allocations: 1.838 MB / 1.381 GB, free: 11.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/0.4822, allocations: 0 / 1.381 GB, free: 11.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=61): time 0.009499/0.4916, allocations: 3.8 MB / 1.385 GB, free: 7.344 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4918, allocations: 97.59 kB / 1.385 GB, free: 7.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/0.4972, allocations: 2.751 MB / 1.388 GB, free: 4.434 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003996/0.4976, allocations: 53.69 kB / 1.388 GB, free: 4.375 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008596/0.4984, allocations: 0.6972 MB / 1.389 GB, free: 3.672 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.4989, allocations: 186.4 kB / 1.389 GB, free: 3.488 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/0.4994, allocations: 177.9 kB / 1.389 GB, free: 3.305 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4995, allocations: 333.9 kB / 1.389 GB, free: 2.973 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/0.5026, allocations: 1.497 MB / 1.391 GB, free: 1.473 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.5056, allocations: 1.481 MB / 1.392 GB, free: 15.99 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005334/0.511, allocations: 2.305 MB / 1.394 GB, free: 13.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.511, allocations: 3.938 kB / 1.394 GB, free: 13.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006877/0.5178, allocations: 3.087 MB / 1.397 GB, free: 10.55 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.5179, allocations: 85.25 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.518, allocations: 8 kB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.518, allocations: 0 / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.5195, allocations: 191.7 kB / 1.398 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5195, allocations: 0 / 1.398 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.5213, allocations: 123.6 kB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.5215, allocations: 47.94 kB / 1.398 GB, free: 10.1 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.001649/0.5231, allocations: 0.7763 MB / 1.399 GB, free: 9.305 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000821/0.5239, allocations: 182.8 kB / 1.399 GB, free: 9.125 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006788/0.5307, allocations: 2.796 MB / 1.402 GB, free: 6.305 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.5307, allocations: 4 kB / 1.402 GB, free: 6.301 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5307, allocations: 0 / 1.402 GB, free: 6.301 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5308, allocations: 3.938 kB / 1.402 GB, free: 6.297 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.5345, allocations: 2.353 MB / 1.404 GB, free: 3.891 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5345, allocations: 0 / 1.404 GB, free: 3.891 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.536, allocations: 199.6 kB / 1.404 GB, free: 3.695 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.536, allocations: 4 kB / 1.404 GB, free: 3.691 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.5362, allocations: 39.94 kB / 1.404 GB, free: 3.652 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5362, allocations: 0 / 1.404 GB, free: 3.652 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5362, allocations: 3.984 kB / 1.404 GB, free: 3.648 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006308/0.5425, allocations: 2.675 MB / 1.407 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.544, allocations: 0.5374 MB / 1.407 GB, free: 420 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/0.5445, allocations: 59.97 kB / 1.407 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.5464, allocations: 123.8 kB / 1.407 GB, free: 236 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.5466, allocations: 56.41 kB / 1.407 GB, free: 176 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.5467, allocations: 55.81 kB / 1.408 GB, free: 120 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00374/0.5505, allocations: 1.98 MB / 1.409 GB, free: 14.11 MB / 1.107 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5505, allocations: 0 / 1.409 GB, free: 14.11 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001509/0.552, allocations: 371.8 kB / 1.41 GB, free: 13.75 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.007297/0.5593, allocations: 3.377 MB / 1.413 GB, free: 10.34 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006215/0.5655, allocations: 2.972 MB / 1.416 GB, free: 7.34 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5655, allocations: 0 / 1.416 GB, free: 7.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002897/0.5684, allocations: 1.341 MB / 1.417 GB, free: 5.988 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.5709, allocations: 470.8 kB / 1.418 GB, free: 5.527 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06/0.6309, allocations: 28.75 MB / 1.446 GB, free: 8.527 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.6327, allocations: 1.612 MB / 1.447 GB, free: 6.883 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002285/0.635, allocations: 0.6266 MB / 1.448 GB, free: 6.254 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.6364, allocations: 0.5929 MB / 1.449 GB, free: 5.66 MB / 1.139 GB Notification: Performance of SimCode: time 1.012e-06/0.6364, allocations: 0 / 1.449 GB, free: 5.66 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.7376, allocations: 52.34 MB / 1.5 GB, free: 1.73 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.36, allocations: 10.19 kB / 1.5 GB, free: 1.723 MB / 1.186 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.365213680954184] Failed to read output from testmodel.py, exit status != 0: 15.553402558958624 15.579028138 15.149810439 Calling exit ...