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.001748/0.001748, allocations: 118.2 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.002105/0.002105, allocations: 211.3 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.62/1.62, 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 3.056/3.056, allocations: 0.5003 GB / 0.8026 GB, free: 6.777 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.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.002431/0.002431, allocations: 63.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004138/1.043, allocations: 2.925 MB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003027/1.047, allocations: 2.259 MB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/1.047, allocations: 6.75 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/1.048, allocations: 256.9 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/1.048, allocations: 79.92 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/1.049, allocations: 492.7 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006749/1.05, allocations: 0.5108 MB / 1.347 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/1.05, allocations: 38.55 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/1.05, allocations: 204.6 kB / 1.347 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/1.05, allocations: 221.2 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/1.05, allocations: 36.59 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/1.051, allocations: 253.9 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/1.051, allocations: 163.2 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/1.051, allocations: 212.8 kB / 1.348 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/1.052, allocations: 0.7628 MB / 1.348 GB, free: 11.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.052, allocations: 5.156 kB / 1.348 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/1.052, allocations: 0 / 1.348 GB, free: 11.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.919e-06/1.052, allocations: 0 / 1.348 GB, free: 11.27 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001582/1.054, allocations: 0.8422 MB / 1.349 GB, free: 10.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.054, allocations: 13.97 kB / 1.349 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.125e-05/1.054, allocations: 1.344 kB / 1.349 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/1.054, allocations: 54.27 kB / 1.349 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/1.057, allocations: 267.5 kB / 1.349 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/1.058, allocations: 440 kB / 1.35 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/1.058, allocations: 87.09 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/1.058, allocations: 13.28 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/1.059, allocations: 0.5637 MB / 1.351 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.059, allocations: 3.938 kB / 1.351 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/1.059, allocations: 5.828 kB / 1.351 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.059, allocations: 2.688 kB / 1.351 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/1.062, allocations: 0.8041 MB / 1.351 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/1.065, allocations: 1.314 MB / 1.353 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005809/1.071, allocations: 1.033 MB / 1.354 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/1.072, allocations: 408.7 kB / 1.354 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/1.072, allocations: 2.766 kB / 1.354 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/1.073, allocations: 0.5581 MB / 1.355 GB, free: 8.586 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 2.525e-06/1.073, allocations: 0 / 1.355 GB, free: 8.586 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.003662/1.077, allocations: 1.249 MB / 1.356 GB, free: 8.227 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/1.077, allocations: 55.59 kB / 1.356 GB, free: 8.164 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/1.078, allocations: 0.5173 MB / 1.356 GB, free: 7.941 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.078, allocations: 34.58 kB / 1.356 GB, free: 7.906 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/1.078, allocations: 208.2 kB / 1.357 GB, free: 7.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/1.078, allocations: 69.81 kB / 1.357 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/1.078, allocations: 68.89 kB / 1.357 GB, free: 7.652 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/1.078, allocations: 358.5 kB / 1.357 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/1.079, allocations: 490.6 kB / 1.358 GB, free: 7.184 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/1.081, allocations: 0.5157 MB / 1.358 GB, free: 7.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/1.083, allocations: 0.7948 MB / 1.359 GB, free: 6.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/1.083, allocations: 0 / 1.359 GB, free: 6.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002748/1.086, allocations: 1.119 MB / 1.36 GB, free: 6.449 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/1.086, allocations: 47.58 kB / 1.36 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.086, allocations: 0 / 1.36 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.086, allocations: 1.312 kB / 1.36 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/1.086, allocations: 101.2 kB / 1.36 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.086, allocations: 1.188 kB / 1.36 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/1.087, allocations: 59.53 kB / 1.36 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/1.087, allocations: 19.98 kB / 1.36 GB, free: 6.387 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.0003501/1.088, allocations: 218.2 kB / 1.36 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/1.088, allocations: 49.84 kB / 1.36 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.316e-05/1.088, allocations: 51.09 kB / 1.36 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.088, allocations: 2.875 kB / 1.36 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.088, allocations: 0 / 1.36 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.088, allocations: 2.828 kB / 1.36 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/1.089, allocations: 0.6568 MB / 1.361 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.089, allocations: 5.281 kB / 1.361 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/1.089, allocations: 100.9 kB / 1.361 GB, free: 5.797 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.089, allocations: 5.938 kB / 1.361 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/1.089, allocations: 14.03 kB / 1.361 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.089, allocations: 4 kB / 1.361 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.089, allocations: 1.922 kB / 1.361 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/1.092, allocations: 0.8827 MB / 1.362 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/1.092, allocations: 199 kB / 1.362 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/1.092, allocations: 12.73 kB / 1.362 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/1.093, allocations: 64.11 kB / 1.362 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/1.093, allocations: 22.27 kB / 1.362 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/1.093, allocations: 18.53 kB / 1.362 GB, free: 5.312 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004639/1.093, allocations: 390.9 kB / 1.363 GB, free: 5.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.093, allocations: 0 / 1.363 GB, free: 5.141 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005356/1.094, allocations: 97.33 kB / 1.363 GB, free: 5.133 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.002729/1.097, allocations: 1.451 MB / 1.364 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00256/1.099, allocations: 0.9657 MB / 1.365 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.099, allocations: 1.438 kB / 1.365 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.1, allocations: 433.6 kB / 1.366 GB, free: 3.898 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/1.101, allocations: 91.44 kB / 1.366 GB, free: 3.863 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/1.116, allocations: 7.438 MB / 1.373 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/1.116, allocations: 0.8567 MB / 1.374 GB, free: 36 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007435/1.117, allocations: 147 kB / 1.374 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/1.117, allocations: 140 kB / 1.374 GB, free: 15.89 MB / 1.076 GB Notification: Performance of SimCode: time 8.82e-07/1.117, allocations: 0 / 1.374 GB, free: 15.89 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/1.159, allocations: 13.62 MB / 1.387 GB, free: 12.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.007/10.17, allocations: 2.688 kB / 1.387 GB, free: 12.23 MB / 1.076 GB " [Timeout remaining time 290] (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: 16.760318229033146] Failed to read output from testmodel.py, exit status != 0: 10.30763019900769 10.332609657999999 9.27518624 Calling exit ...