Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008933/0.0008933, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008318/0.0008318, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.8835/0.8835, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.97/1.97, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.136e-05, allocations: 9.594 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002873/0.002895, allocations: 2.698 MB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.00518, allocations: 2.071 MB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.005305, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.005945, allocations: 246.4 kB / 1.006 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.006075, allocations: 83.2 kB / 1.006 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008933/0.006968, allocations: 494.2 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.007435, allocations: 0.5218 MB / 1.007 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.007543, allocations: 40.84 kB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.007769, allocations: 263.5 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.007961, allocations: 187.6 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.008014, allocations: 36 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.008348, allocations: 267.5 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.008682, allocations: 159.6 kB / 1.008 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.008798, allocations: 143.6 kB / 1.008 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.009432, allocations: 0.8102 MB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.009436, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.009437, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.009442, allocations: 4 kB / 1.008 GB, free: 5.484 MB / 0.9636 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.0009384/0.01038, allocations: 0.7682 MB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.01042, allocations: 9.344 kB / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.01047, allocations: 46.75 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.01174, allocations: 272.3 kB / 1.01 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.0122, allocations: 371.8 kB / 1.01 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.01231, allocations: 139.3 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.01235, allocations: 20.38 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000739/0.01309, allocations: 0.5393 MB / 1.011 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.01309, allocations: 192 / 1.011 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.01313, allocations: 7.938 kB / 1.011 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01313, allocations: 4 kB / 1.011 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.01427, allocations: 0.7885 MB / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01577, allocations: 1.19 MB / 1.013 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.0183, allocations: 1.029 MB / 1.014 GB, free: 168 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005648/0.01886, allocations: 400.6 kB / 1.014 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.01889, allocations: 8.281 kB / 1.014 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009817/0.01987, allocations: 0.5433 MB / 1.014 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=21): time 2.013e-06/0.01987, allocations: 0 / 1.014 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=21): time 0.001889/0.02176, allocations: 1.243 MB / 1.016 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.0218, allocations: 55.41 kB / 1.016 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.02225, allocations: 0.5175 MB / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.0223, allocations: 37.64 kB / 1.016 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.02243, allocations: 204.5 kB / 1.016 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.02249, allocations: 71.41 kB / 1.017 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.0226, allocations: 73.66 kB / 1.017 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.02271, allocations: 350.8 kB / 1.017 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.02334, allocations: 0.4974 MB / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.02399, allocations: 0.5662 MB / 1.018 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.02507, allocations: 0.7949 MB / 1.019 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02507, allocations: 0 / 1.019 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001483/0.02655, allocations: 1.156 MB / 1.02 GB, free: 9.551 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.02659, allocations: 41.69 kB / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.0266, allocations: 0 / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.02661, allocations: 3.938 kB / 1.02 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.02695, allocations: 99.88 kB / 1.02 GB, free: 9.402 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.02696, allocations: 7.938 kB / 1.02 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.02725, allocations: 63.83 kB / 1.02 GB, free: 9.332 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.02729, allocations: 19.97 kB / 1.02 GB, free: 9.312 MB / 0.9792 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0002362/0.02752, allocations: 211.8 kB / 1.02 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.02758, allocations: 47.72 kB / 1.02 GB, free: 9.051 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.02764, allocations: 55.94 kB / 1.02 GB, free: 9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.02764, allocations: 4 kB / 1.02 GB, free: 8.996 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.02765, allocations: 7.938 kB / 1.02 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.02765, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.02811, allocations: 0.5316 MB / 1.021 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02811, allocations: 3.938 kB / 1.021 GB, free: 8.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.02843, allocations: 95.88 kB / 1.021 GB, free: 8.316 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.02844, allocations: 7.984 kB / 1.021 GB, free: 8.309 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.02846, allocations: 11.98 kB / 1.021 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.02846, allocations: 0 / 1.021 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.02847, allocations: 7.875 kB / 1.021 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.02999, allocations: 0.8803 MB / 1.022 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.03017, allocations: 115.6 kB / 1.022 GB, free: 7.277 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.03021, allocations: 7.984 kB / 1.022 GB, free: 7.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.0305, allocations: 63.92 kB / 1.022 GB, free: 7.207 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.03057, allocations: 27.89 kB / 1.022 GB, free: 7.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.0306, allocations: 11.98 kB / 1.022 GB, free: 7.168 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003147/0.03091, allocations: 395 kB / 1.023 GB, free: 6.781 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03091, allocations: 0 / 1.023 GB, free: 6.781 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003271/0.03124, allocations: 99.94 kB / 1.023 GB, free: 6.684 MB / 0.9792 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.001681/0.03292, allocations: 1.451 MB / 1.024 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.03444, allocations: 0.9964 MB / 1.025 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.03444, allocations: 0 / 1.025 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.03523, allocations: 433.3 kB / 1.025 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.0357, allocations: 97.72 kB / 1.026 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.04717, allocations: 7.588 MB / 1.033 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.0474, allocations: 253.2 kB / 1.033 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004835/0.04788, allocations: 142.9 kB / 1.033 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.04816, allocations: 140.4 kB / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of SimCode: time 1.383e-06/0.04816, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5433/0.5914, allocations: 14.86 MB / 1.048 GB, free: 82.5 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.998, allocations: 10 kB / 1.048 GB, free: 82.5 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.584570113569498]