Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.001646/0.001646, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002048/0.002048, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.242/3.242, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",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.001952/0.001952, allocations: 78.67 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 179 MB / 1.345 GB, free: 396 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004423/0.3466, allocations: 2.935 MB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.35, allocations: 2.286 MB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3501, allocations: 4 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007133/0.3508, allocations: 258.6 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.351, allocations: 79.22 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3521, allocations: 0.4907 MB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.3528, allocations: 0.518 MB / 1.352 GB, free: 9.797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3529, allocations: 32.86 kB / 1.352 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.3531, allocations: 203.5 kB / 1.352 GB, free: 9.562 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.3535, allocations: 219.2 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.3535, allocations: 39.94 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.3541, allocations: 291.6 kB / 1.353 GB, free: 9.023 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.3542, allocations: 155.6 kB / 1.353 GB, free: 8.871 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.3544, allocations: 218.9 kB / 1.353 GB, free: 8.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.3553, allocations: 0.7591 MB / 1.354 GB, free: 7.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3554, allocations: 0 / 1.354 GB, free: 7.895 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3554, allocations: 0 / 1.354 GB, free: 7.895 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.3554, allocations: 0 / 1.354 GB, free: 7.895 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001475/0.3568, allocations: 0.776 MB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3569, allocations: 8.031 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/0.3569, allocations: 4.188 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.503e-05/0.357, allocations: 46.75 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.3596, allocations: 264.3 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.3602, allocations: 384.5 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.3604, allocations: 139.3 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.3604, allocations: 24.06 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.3619, allocations: 0.5635 MB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.3619, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.3619, allocations: 4 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3619, allocations: 4 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.3642, allocations: 0.804 MB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.3667, allocations: 1.291 MB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005473/0.3721, allocations: 1.034 MB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.3732, allocations: 408.6 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3732, allocations: 0 / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.3746, allocations: 0.5601 MB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.3746, allocations: 3.938 kB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.003534/0.3781, allocations: 1.243 MB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3782, allocations: 59.39 kB / 1.361 GB, free: 112 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.3788, allocations: 0.5175 MB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/0.3789, allocations: 33.7 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3791, allocations: 204.4 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.3792, allocations: 71.42 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.3794, allocations: 73.64 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3795, allocations: 354.8 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.3808, allocations: 496.4 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.382, allocations: 0.513 MB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.3842, allocations: 0.7938 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3842, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002717/0.3869, allocations: 1.125 MB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.3869, allocations: 43.36 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3869, allocations: 3.984 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.387, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.3877, allocations: 99.81 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3877, allocations: 4 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.3883, allocations: 67.81 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.3884, allocations: 15.97 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0002973/0.3887, allocations: 213.7 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.3888, allocations: 47.66 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.3889, allocations: 56 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3889, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3889, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3889, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.3896, allocations: 0.6445 MB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3896, allocations: 0 / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.3904, allocations: 95.88 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3904, allocations: 3.938 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.3904, allocations: 15.97 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3904, allocations: 4 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3904, allocations: 0 / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.3928, allocations: 0.881 MB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.3931, allocations: 119.6 kB / 1.367 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.3932, allocations: 8 kB / 1.367 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/0.3938, allocations: 67.91 kB / 1.367 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.3939, allocations: 19.97 kB / 1.367 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.394, allocations: 15.97 kB / 1.367 GB, free: 9.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004455/0.3944, allocations: 387.1 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3944, allocations: 4 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004055/0.3948, allocations: 107.9 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00285/0.3977, allocations: 1.458 MB / 1.369 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.4002, allocations: 0.9568 MB / 1.37 GB, free: 6.465 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4002, allocations: 0 / 1.37 GB, free: 6.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.4014, allocations: 437.2 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.4018, allocations: 101.8 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.4152, allocations: 7.423 MB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.4158, allocations: 0.858 MB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005243/0.4163, allocations: 138.9 kB / 1.379 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.4166, allocations: 139.3 kB / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of SimCode: time 8.62e-07/0.4166, allocations: 0 / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.4579, allocations: 13.81 MB / 1.393 GB, free: 15.7 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.19, allocations: 23.75 kB / 1.393 GB, free: 15.68 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.083017662982456] Failed to read output from testmodel.py, exit status != 0: 12.3696699970169 12.401147062 12.039779414 Calling exit ...