Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002052/0.002052, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.002332/0.002332, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.756/2.756, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] 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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_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.002078/0.002078, allocations: 64.98 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3029, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004695/0.3076, allocations: 2.698 MB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003756/0.3113, allocations: 2.06 MB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3116, allocations: 3.938 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.3125, allocations: 234.2 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.3127, allocations: 79.28 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3142, allocations: 498.2 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.3151, allocations: 0.5158 MB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3152, allocations: 28.92 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.3157, allocations: 207.5 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.3161, allocations: 215.3 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3162, allocations: 40 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.3168, allocations: 275.6 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.3171, allocations: 171.5 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.3174, allocations: 167.2 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.3184, allocations: 0.7645 MB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3184, allocations: 4 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3184, allocations: 0 / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.3184, allocations: 0 / 1.292 GB, free: 2.73 MB / 0.9825 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.001772/0.3202, allocations: 0.7739 MB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3203, allocations: 12.03 kB / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3203, allocations: 4.188 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.295e-05/0.3203, allocations: 46.73 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.3227, allocations: 232.4 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.3234, allocations: 368.5 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.3236, allocations: 147.3 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.3237, allocations: 20.11 kB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.3251, allocations: 0.5246 MB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3251, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.3251, allocations: 4 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3251, allocations: 4 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.3274, allocations: 0.7572 MB / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.33, allocations: 1.17 MB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.3357, allocations: 0.9938 MB / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.3368, allocations: 388.6 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3368, allocations: 4.344 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.3382, allocations: 0.541 MB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.555e-06/0.3382, allocations: 0 / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003484/0.3417, allocations: 1.18 MB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3417, allocations: 59.41 kB / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006955/0.3424, allocations: 0.5175 MB / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-05/0.3425, allocations: 37.69 kB / 1.299 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3427, allocations: 200.5 kB / 1.3 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.3428, allocations: 63.44 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.343, allocations: 69.64 kB / 1.3 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3432, allocations: 362.8 kB / 1.3 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.3444, allocations: 0.4982 MB / 1.301 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3457, allocations: 0.5536 MB / 1.301 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.3477, allocations: 0.7579 MB / 1.302 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3477, allocations: 3.938 kB / 1.302 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00271/0.3504, allocations: 1.121 MB / 1.303 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.3505, allocations: 45.62 kB / 1.303 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3505, allocations: 0 / 1.303 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3505, allocations: 4 kB / 1.303 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.3512, allocations: 87.89 kB / 1.303 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3512, allocations: 0 / 1.303 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.3518, allocations: 63.83 kB / 1.303 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.3518, allocations: 19.91 kB / 1.303 GB, free: 6.848 MB / 0.9981 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.0003319/0.3522, allocations: 216.2 kB / 1.303 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.3523, allocations: 47.66 kB / 1.303 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.3524, allocations: 48.02 kB / 1.303 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3524, allocations: 4 kB / 1.303 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3524, allocations: 0 / 1.303 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3524, allocations: 3.984 kB / 1.303 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.3531, allocations: 0.5277 MB / 1.304 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3531, allocations: 0 / 1.304 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.3538, allocations: 91.83 kB / 1.304 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3538, allocations: 3.938 kB / 1.304 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.3538, allocations: 11.98 kB / 1.304 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3538, allocations: 0 / 1.304 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3538, allocations: 4 kB / 1.304 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.3561, allocations: 0.8322 MB / 1.305 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.3564, allocations: 115.6 kB / 1.305 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.3565, allocations: 11.98 kB / 1.305 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.3571, allocations: 59.92 kB / 1.305 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3572, allocations: 27.95 kB / 1.305 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.3573, allocations: 15.92 kB / 1.305 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005106/0.3578, allocations: 395 kB / 1.306 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3578, allocations: 0 / 1.306 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004635/0.3582, allocations: 99.94 kB / 1.306 GB, free: 4.289 MB / 0.9981 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.002879/0.3611, allocations: 1.418 MB / 1.307 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.3636, allocations: 0.9518 MB / 1.308 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3636, allocations: 8 kB / 1.308 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.3647, allocations: 415.5 kB / 1.308 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.3654, allocations: 101.8 kB / 1.308 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.3798, allocations: 7.477 MB / 1.316 GB, free: 9.766 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3801, allocations: 245 kB / 1.316 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005133/0.3807, allocations: 134.9 kB / 1.316 GB, free: 9.379 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.381, allocations: 139.4 kB / 1.316 GB, free: 9.242 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/0.381, allocations: 0 / 1.316 GB, free: 9.242 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.4217, allocations: 14.24 MB / 1.33 GB, free: 11.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.33, allocations: 11.88 kB / 1.33 GB, free: 11.31 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.979745185002685] Failed to read output from testmodel.py, exit status != 0: 13.00748135196045 12.515257033 12.193610473 Calling exit ...