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.001328/0.001328, 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.001379/0.001379, allocations: 213.8 kB / 23.03 MB, free: 4.922 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.216/3.216, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.002005/0.002005, allocations: 62.34 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004572/0.3306, allocations: 2.686 MB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.3338, allocations: 2.075 MB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.334, allocations: 4 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.3347, allocations: 222.7 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3349, allocations: 79.28 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3361, allocations: 0.4976 MB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.3367, allocations: 0.5162 MB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3368, allocations: 32.86 kB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.337, allocations: 203.5 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.3373, allocations: 215.3 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.701e-05/0.3373, allocations: 36 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.3378, allocations: 283.6 kB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.338, allocations: 163.5 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3382, allocations: 175.1 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008604/0.3391, allocations: 0.7591 MB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3391, allocations: 0 / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3391, allocations: 0 / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.3391, allocations: 0 / 1.353 GB, free: 7.957 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.001387/0.3405, allocations: 0.7799 MB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3405, allocations: 8.031 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.741e-05/0.3405, allocations: 4.188 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.3406, allocations: 42.75 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.3433, allocations: 272.3 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.3439, allocations: 384.5 kB / 1.354 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.3441, allocations: 143.3 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.3441, allocations: 12.12 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.3455, allocations: 0.5674 MB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3455, allocations: 0 / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.3456, allocations: 4 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3456, allocations: 4 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.3478, allocations: 0.804 MB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.3502, allocations: 1.182 MB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/0.3556, allocations: 1.037 MB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3566, allocations: 409.8 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3566, allocations: 4 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.358, allocations: 0.555 MB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.358, allocations: 0 / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.003395/0.3614, allocations: 1.248 MB / 1.36 GB, free: 352 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3614, allocations: 55.41 kB / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.3621, allocations: 0.5213 MB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.402e-05/0.3622, allocations: 37.64 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3624, allocations: 204.4 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3625, allocations: 67.42 kB / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3627, allocations: 73.64 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3628, allocations: 358.8 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.364, allocations: 0.5099 MB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3652, allocations: 0.5827 MB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.3672, allocations: 0.7897 MB / 1.363 GB, free: 13.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3672, allocations: 0 / 1.363 GB, free: 13.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002638/0.3699, allocations: 1.167 MB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/0.3699, allocations: 45.62 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3699, allocations: 0 / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.37, allocations: 0 / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.3707, allocations: 99.88 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3707, allocations: 0 / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.3713, allocations: 67.81 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.3714, allocations: 19.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.0003333/0.3717, allocations: 211.2 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3718, allocations: 47.66 kB / 1.365 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.3719, allocations: 52.02 kB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3719, allocations: 4 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3719, allocations: 0 / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3719, allocations: 3.984 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.3726, allocations: 0.5549 MB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3726, allocations: 3.938 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.3733, allocations: 103.8 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3733, allocations: 7.938 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.3733, allocations: 15.97 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3733, allocations: 4 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3733, allocations: 0 / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.3756, allocations: 0.8805 MB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.3759, allocations: 119.6 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/0.3759, allocations: 11.98 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.3766, allocations: 63.92 kB / 1.367 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.3766, allocations: 23.95 kB / 1.367 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.3767, allocations: 11.98 kB / 1.367 GB, free: 9.484 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004548/0.3771, allocations: 387.1 kB / 1.367 GB, free: 9.109 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3771, allocations: 3.938 kB / 1.367 GB, free: 9.105 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004195/0.3776, allocations: 107.9 kB / 1.367 GB, free: 9 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.002728/0.3803, allocations: 1.453 MB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.3827, allocations: 1 MB / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3827, allocations: 0 / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3838, allocations: 441.4 kB / 1.37 GB, free: 6.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.3844, allocations: 85.8 kB / 1.37 GB, free: 5.984 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.3977, allocations: 7.585 MB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.398, allocations: 256.9 kB / 1.378 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005513/0.3986, allocations: 142.9 kB / 1.378 GB, free: 13.87 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.3989, allocations: 143.3 kB / 1.378 GB, free: 13.73 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/0.3989, allocations: 0 / 1.378 GB, free: 13.73 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.4374, allocations: 14.48 MB / 1.392 GB, free: 15.55 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.11, allocations: 7.969 kB / 1.392 GB, free: 15.54 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: 18.814621492056176] Failed to read output from testmodel.py, exit status != 0: 12.279972604010254 12.296127887 11.953851155 Calling exit ...