Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001316/0.001316, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001438/0.001438, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_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.002044/0.002044, allocations: 60.22 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3033, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004269/0.3075, allocations: 2.938 MB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.3108, allocations: 2.287 MB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3109, allocations: 4 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.3116, allocations: 262.6 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3117, allocations: 79.22 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3128, allocations: 491.8 kB / 1.333 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.3134, allocations: 0.518 MB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3135, allocations: 28.86 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.3138, allocations: 215.4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.3141, allocations: 223.2 kB / 1.334 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.636e-05/0.3141, allocations: 36 kB / 1.334 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.3146, allocations: 291.6 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.3148, allocations: 159.6 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.315, allocations: 214.9 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008315/0.3158, allocations: 0.7513 MB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3158, allocations: 4 kB / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3158, allocations: 0 / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3159, allocations: 0 / 1.335 GB, free: 9.492 MB / 1.029 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.001405/0.3173, allocations: 0.7799 MB / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3173, allocations: 8.031 kB / 1.336 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.3173, allocations: 4.188 kB / 1.336 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.3174, allocations: 46.73 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.3196, allocations: 232.4 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.3202, allocations: 380.4 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.3203, allocations: 139.3 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.3204, allocations: 16.12 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3218, allocations: 0.5323 MB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3218, allocations: 0 / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.3218, allocations: 4 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3219, allocations: 4 kB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.324, allocations: 0.7533 MB / 1.338 GB, free: 6.508 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.3265, allocations: 1.245 MB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00533/0.3318, allocations: 0.9977 MB / 1.34 GB, free: 4.211 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3329, allocations: 392.6 kB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3329, allocations: 0 / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.3342, allocations: 0.5317 MB / 1.341 GB, free: 3.281 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.3342, allocations: 4 kB / 1.341 GB, free: 3.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003347/0.3376, allocations: 1.175 MB / 1.342 GB, free: 2.098 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.3376, allocations: 63.39 kB / 1.342 GB, free: 2.023 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/0.3383, allocations: 0.5175 MB / 1.343 GB, free: 1.496 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/0.3383, allocations: 33.7 kB / 1.343 GB, free: 1.457 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.3385, allocations: 204.4 kB / 1.343 GB, free: 1.254 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.3386, allocations: 75.42 kB / 1.343 GB, free: 1.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3388, allocations: 65.66 kB / 1.343 GB, free: 1.109 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.339, allocations: 358.8 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.3401, allocations: 460.5 kB / 1.344 GB, free: 304 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.3413, allocations: 0.5058 MB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.3434, allocations: 0.754 MB / 1.345 GB, free: 15.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3434, allocations: 0 / 1.345 GB, free: 15.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002647/0.346, allocations: 1.071 MB / 1.346 GB, free: 13.94 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.3461, allocations: 49.56 kB / 1.346 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3461, allocations: 0 / 1.346 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3461, allocations: 4 kB / 1.346 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.3467, allocations: 91.89 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3467, allocations: 0 / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.3473, allocations: 63.81 kB / 1.346 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.3474, allocations: 15.98 kB / 1.346 GB, free: 13.71 MB / 1.045 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.0003115/0.3477, allocations: 213.7 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.3478, allocations: 47.66 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.912e-05/0.3479, allocations: 56 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3479, allocations: 7.984 kB / 1.347 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3479, allocations: 0 / 1.347 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3479, allocations: 0 / 1.347 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.3486, allocations: 0.6247 MB / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3486, allocations: 0 / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.3492, allocations: 87.89 kB / 1.347 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.3492, allocations: 3.938 kB / 1.347 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.3492, allocations: 19.91 kB / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3493, allocations: 3.938 kB / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3493, allocations: 0 / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.3515, allocations: 0.8344 MB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.3518, allocations: 111.6 kB / 1.348 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/0.3518, allocations: 15.98 kB / 1.348 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.3524, allocations: 63.92 kB / 1.348 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.3525, allocations: 23.95 kB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.3525, allocations: 15.98 kB / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004541/0.353, allocations: 391.1 kB / 1.349 GB, free: 11.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.353, allocations: 0 / 1.349 GB, free: 11.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000436/0.3534, allocations: 99.92 kB / 1.349 GB, free: 11.05 MB / 1.045 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.002708/0.3561, allocations: 1.425 MB / 1.35 GB, free: 9.598 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.3586, allocations: 0.9206 MB / 1.351 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3586, allocations: 0 / 1.351 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.3597, allocations: 417.8 kB / 1.351 GB, free: 8.258 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.3602, allocations: 85.84 kB / 1.351 GB, free: 8.176 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.3734, allocations: 7.325 MB / 1.359 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.3739, allocations: 0.8579 MB / 1.359 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.3743, allocations: 126.9 kB / 1.36 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.3746, allocations: 135.4 kB / 1.36 GB, free: 15.61 MB / 1.061 GB Notification: Performance of SimCode: time 7.51e-07/0.3746, allocations: 0 / 1.36 GB, free: 15.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.4116, allocations: 13.58 MB / 1.373 GB, free: 2.281 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.11, allocations: 25.45 kB / 1.373 GB, free: 2.266 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.70062154001789] Failed to read output from testmodel.py, exit status != 0: 12.28501709701959 12.302249736 11.983030218 Calling exit ...