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.001284/0.001284, allocations: 97.88 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.001551/0.001551, allocations: 217.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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.206/3.206, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.001956/0.001956, allocations: 63.88 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004321/0.3244, allocations: 2.703 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.3278, allocations: 2.068 MB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3279, allocations: 7.938 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008008/0.3287, allocations: 226.8 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.3289, allocations: 79.23 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.3302, allocations: 0.4909 MB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007033/0.3309, allocations: 0.5103 MB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.331, allocations: 36.77 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.3313, allocations: 211.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.3317, allocations: 219.2 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3318, allocations: 40 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.3323, allocations: 283.5 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3325, allocations: 159.6 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.3327, allocations: 167.2 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.3336, allocations: 0.763 MB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3336, allocations: 4 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3337, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3337, allocations: 0 / 1.334 GB, free: 9.516 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.001473/0.3351, allocations: 0.7721 MB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3352, allocations: 16.02 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.265e-05/0.3352, allocations: 4.188 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.3352, allocations: 42.75 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.3374, allocations: 236.4 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.338, allocations: 372.5 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.3382, allocations: 143.3 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.3383, allocations: 20.11 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.3396, allocations: 0.5284 MB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3397, allocations: 0 / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.3397, allocations: 4 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3397, allocations: 4 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.3418, allocations: 0.7572 MB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.3443, allocations: 1.143 MB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005585/0.3499, allocations: 0.9938 MB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009963/0.3509, allocations: 388.6 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3509, allocations: 0 / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.3522, allocations: 0.5351 MB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.514e-06/0.3522, allocations: 0 / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003242/0.3554, allocations: 1.178 MB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3555, allocations: 63.39 kB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.3562, allocations: 0.5175 MB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/0.3562, allocations: 33.7 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3564, allocations: 204.4 kB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.3565, allocations: 67.42 kB / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.3567, allocations: 65.66 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3569, allocations: 366.7 kB / 1.343 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.358, allocations: 498.2 kB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.3593, allocations: 0.5707 MB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.3612, allocations: 0.7544 MB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3612, allocations: 0 / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002584/0.3638, allocations: 1.109 MB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.3638, allocations: 47.19 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3638, allocations: 0 / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3639, allocations: 4 kB / 1.346 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.3645, allocations: 91.77 kB / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3645, allocations: 4 kB / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.365, allocations: 67.81 kB / 1.346 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.3651, allocations: 15.98 kB / 1.346 GB, free: 13.68 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.0003141/0.3654, allocations: 215.9 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3655, allocations: 47.66 kB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.119e-05/0.3656, allocations: 56 kB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3656, allocations: 4 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3656, allocations: 0 / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3656, allocations: 0 / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.3663, allocations: 0.5353 MB / 1.347 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3663, allocations: 0 / 1.347 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.3669, allocations: 95.88 kB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3669, allocations: 3.938 kB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.367, allocations: 15.92 kB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.367, allocations: 3.984 kB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.367, allocations: 3.938 kB / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.3692, allocations: 0.8421 MB / 1.347 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.3694, allocations: 119.6 kB / 1.348 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.3695, allocations: 4 kB / 1.348 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.3701, allocations: 59.92 kB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.3702, allocations: 27.95 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.3702, allocations: 11.98 kB / 1.348 GB, free: 11.57 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004945/0.3707, allocations: 391.1 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3707, allocations: 0 / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004419/0.3712, allocations: 99.92 kB / 1.348 GB, free: 11.09 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.002718/0.3739, allocations: 1.424 MB / 1.35 GB, free: 9.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.3763, allocations: 0.963 MB / 1.35 GB, free: 8.66 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3763, allocations: 8 kB / 1.35 GB, free: 8.652 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.3773, allocations: 403.6 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.0005321/0.3779, allocations: 85.86 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.01342/0.3913, allocations: 7.466 MB / 1.358 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3916, allocations: 252.9 kB / 1.358 GB, free: 324 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004974/0.3921, allocations: 134.9 kB / 1.359 GB, free: 192 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.3924, allocations: 135.3 kB / 1.359 GB, free: 56 kB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/0.3924, allocations: 0 / 1.359 GB, free: 56 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.4332, allocations: 14.26 MB / 1.373 GB, free: 2.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.17, allocations: 4 kB / 1.373 GB, free: 2.105 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.826457565068267] Failed to read output from testmodel.py, exit status != 0: 12.348692892002873 12.376035447 12.036878025 Calling exit ...