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.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.00208/0.00208, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002455/0.002455, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_11_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.002197/0.002197, allocations: 65 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004964/1.066, allocations: 3.12 MB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005507/1.072, allocations: 3.384 MB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/1.072, allocations: 3.75 kB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/1.074, allocations: 0.566 MB / 1.286 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/1.074, allocations: 135.7 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/1.076, allocations: 0.6954 MB / 1.287 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002064/1.078, allocations: 1.691 MB / 1.288 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/1.078, allocations: 172 kB / 1.288 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009948/1.079, allocations: 0.5917 MB / 1.289 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/1.081, allocations: 0.6319 MB / 1.29 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/1.081, allocations: 136.5 kB / 1.29 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/1.082, allocations: 0.6581 MB / 1.29 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006527/1.083, allocations: 0.631 MB / 1.291 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/1.084, allocations: 0.8773 MB / 1.292 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/1.089, allocations: 3.443 MB / 1.295 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.089, allocations: 0 / 1.295 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.089, allocations: 0 / 1.295 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.331e-05/1.089, allocations: 0 / 1.295 GB, free: 2.941 MB / 0.9981 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.005175/1.094, allocations: 2.24 MB / 1.297 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.094, allocations: 8.719 kB / 1.297 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.075e-05/1.094, allocations: 5.844 kB / 1.297 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/1.094, allocations: 77.23 kB / 1.298 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006705/1.101, allocations: 0.6528 MB / 1.298 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/1.105, allocations: 1.65 MB / 1.3 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/1.105, allocations: 133.6 kB / 1.3 GB, free: 208 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/1.105, allocations: 34.7 kB / 1.3 GB, free: 196 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/1.109, allocations: 1.887 MB / 1.302 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/1.109, allocations: 0.6094 kB / 1.302 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/1.109, allocations: 12.83 kB / 1.302 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.109, allocations: 7.531 kB / 1.302 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006381/1.116, allocations: 2.617 MB / 1.304 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/1.128, allocations: 4.604 MB / 1.309 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.139, allocations: 2.845 MB / 1.312 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/1.141, allocations: 1.145 MB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/1.141, allocations: 18.05 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003767/1.145, allocations: 1.783 MB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 4.418e-06/1.145, allocations: 0 / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.009461/1.155, allocations: 3.65 MB / 1.318 GB, free: 8.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/1.155, allocations: 98.28 kB / 1.318 GB, free: 8.434 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/1.16, allocations: 2.752 MB / 1.321 GB, free: 6.977 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005125/1.161, allocations: 57.94 kB / 1.321 GB, free: 6.926 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/1.161, allocations: 0.6947 MB / 1.322 GB, free: 6.324 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/1.162, allocations: 193.1 kB / 1.322 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/1.162, allocations: 155.2 kB / 1.322 GB, free: 6.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.162, allocations: 332.1 kB / 1.322 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/1.165, allocations: 1.462 MB / 1.324 GB, free: 5.055 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/1.168, allocations: 1.428 MB / 1.325 GB, free: 4.391 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/1.174, allocations: 2.213 MB / 1.327 GB, free: 3.297 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.174, allocations: 0 / 1.327 GB, free: 3.297 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006783/1.18, allocations: 2.986 MB / 1.33 GB, free: 1.852 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/1.18, allocations: 79.06 kB / 1.33 GB, free: 1.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.18, allocations: 9.047 kB / 1.33 GB, free: 1.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.18, allocations: 2.281 kB / 1.33 GB, free: 1.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/1.182, allocations: 189.5 kB / 1.33 GB, free: 1.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.182, allocations: 2.531 kB / 1.33 GB, free: 1.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.184, allocations: 115.8 kB / 1.331 GB, free: 1.629 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.184, allocations: 40.98 kB / 1.331 GB, free: 1.613 MB / 1.014 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.001592/1.185, allocations: 0.7829 MB / 1.331 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00058/1.186, allocations: 184.2 kB / 1.332 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006338/1.192, allocations: 2.672 MB / 1.334 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.192, allocations: 8.609 kB / 1.334 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.192, allocations: 1.062 kB / 1.334 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.192, allocations: 3.938 kB / 1.334 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/1.196, allocations: 2.319 MB / 1.336 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.196, allocations: 4 kB / 1.336 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.198, allocations: 179.6 kB / 1.337 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/1.198, allocations: 3.5 kB / 1.337 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.198, allocations: 41.33 kB / 1.337 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/1.198, allocations: 1.281 kB / 1.337 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.198, allocations: 5.234 kB / 1.337 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/1.204, allocations: 2.573 MB / 1.339 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.206, allocations: 0.5897 MB / 1.34 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/1.206, allocations: 60.31 kB / 1.34 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.208, allocations: 122.5 kB / 1.34 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.208, allocations: 53.25 kB / 1.34 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.208, allocations: 51.53 kB / 1.34 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004011/1.212, allocations: 1.981 MB / 1.342 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.212, allocations: 0 / 1.342 GB, free: 11.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002228/1.214, allocations: 373.3 kB / 1.342 GB, free: 10.99 MB / 1.029 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.007179/1.221, allocations: 3.286 MB / 1.345 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006112/1.228, allocations: 2.88 MB / 1.348 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.228, allocations: 0 / 1.348 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/1.23, allocations: 1.291 MB / 1.35 GB, free: 3.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.233, allocations: 474.7 kB / 1.35 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0558/1.289, allocations: 28.47 MB / 1.378 GB, free: 6.277 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.291, allocations: 1.6 MB / 1.379 GB, free: 4.645 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0021/1.293, allocations: 0.6032 MB / 1.38 GB, free: 4.039 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.294, allocations: 0.5851 MB / 1.381 GB, free: 3.453 MB / 1.061 GB Notification: Performance of SimCode: time 1.743e-06/1.294, allocations: 8 kB / 1.381 GB, free: 3.445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09805/1.392, allocations: 51.31 MB / 1.431 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/13.08, allocations: 5.625 kB / 1.431 GB, free: 0.5938 MB / 1.107 GB " [Timeout remaining time 287] (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 --stepSize=1.44 --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) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.597780749958474] Failed to read output from testmodel.py, exit status != 0: 13.23652358999243 13.260449817 12.16703306 Calling exit ...