Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001217/0.001217, 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.001372/0.001372, 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.9277/0.9277, 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.863/1.863, allocations: 389.6 MB / 0.6343 GB, free: 12.56 MB / 0.6042 GB " [Timeout remaining time 178] 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.SpeedSelect,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.031e-05, allocations: 2.281 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003654/0.003675, allocations: 2.134 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.007136, allocations: 2.53 MB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.007306, allocations: 4 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.008721, allocations: 0.4897 MB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.009122, allocations: 167.1 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.009665, allocations: 209.5 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.01016, allocations: 405.9 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.01028, allocations: 25.27 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.01053, allocations: 183.4 kB / 1.007 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.01073, allocations: 127.6 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.01077, allocations: 12 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.01096, allocations: 71.88 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.01112, allocations: 139.4 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.01125, allocations: 99.61 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007635/0.01201, allocations: 0.7007 MB / 1.008 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01201, allocations: 0 / 1.008 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01201, allocations: 3.938 kB / 1.008 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.01203, allocations: 0 / 1.008 GB, free: 6.152 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001229/0.01326, allocations: 0.8469 MB / 1.009 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.0133, allocations: 9.344 kB / 1.009 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.01335, allocations: 46.67 kB / 1.009 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.01345, allocations: 76.47 kB / 1.009 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.01398, allocations: 406.1 kB / 1.009 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.01399, allocations: 8.312 kB / 1.009 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.01401, allocations: 4.375 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.01424, allocations: 147.1 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01425, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.01427, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.01427, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.01439, allocations: 47.91 kB / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.0151, allocations: 0.4918 MB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.01545, allocations: 98.73 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.01552, allocations: 32.78 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.01554, allocations: 4 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.01572, allocations: 113.1 kB / 1.01 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.01572, allocations: 0 / 1.01 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004033/0.01612, allocations: 205.2 kB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.01617, allocations: 85.05 kB / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.01727, allocations: 0.9306 MB / 1.011 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.01729, allocations: 25.7 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.01757, allocations: 324 kB / 1.012 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.0176, allocations: 19.86 kB / 1.012 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.01766, allocations: 25.7 kB / 1.012 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.01775, allocations: 313.9 kB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.01783, allocations: 27.98 kB / 1.012 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01794, allocations: 118.8 kB / 1.012 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01808, allocations: 77.62 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01809, allocations: 4.031 kB / 1.012 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002484/0.01833, allocations: 173.2 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.01835, allocations: 12.12 kB / 1.012 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01836, allocations: 0 / 1.012 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01837, allocations: 3.938 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.01845, allocations: 19.92 kB / 1.012 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01845, allocations: 0 / 1.012 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.01857, allocations: 19.86 kB / 1.012 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.01858, allocations: 4 kB / 1.012 GB, free: 1.215 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003178/0.0189, allocations: 328.7 kB / 1.013 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.01897, allocations: 71.53 kB / 1.013 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.0193, allocations: 192.1 kB / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.0193, allocations: 0 / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.01931, allocations: 3.938 kB / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.01931, allocations: 0 / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.01968, allocations: 352.5 kB / 1.013 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01968, allocations: 0 / 1.013 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.01974, allocations: 8 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01974, allocations: 0 / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01975, allocations: 7.984 kB / 1.013 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01976, allocations: 4 kB / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01976, allocations: 0 / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.02003, allocations: 213 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.02012, allocations: 63.53 kB / 1.014 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.02017, allocations: 7.938 kB / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.02029, allocations: 4 kB / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.02034, allocations: 11.98 kB / 1.014 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.02036, allocations: 7.938 kB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008137/0.02117, allocations: 0.6864 MB / 1.014 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02117, allocations: 4 kB / 1.014 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003425/0.02152, allocations: 63.92 kB / 1.014 GB, free: 15.14 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001543/0.02306, allocations: 1.091 MB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.02326, allocations: 71.91 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02327, allocations: 0 / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.02335, allocations: 39.97 kB / 1.015 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.024, allocations: 176.6 kB / 1.016 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.03007, allocations: 4.869 MB / 1.02 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.03049, allocations: 399.6 kB / 1.021 GB, free: 8.535 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.03066, allocations: 55.25 kB / 1.021 GB, free: 8.477 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.03092, allocations: 200.4 kB / 1.021 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of SimCode: time 1.573e-06/0.03092, allocations: 0 / 1.021 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.1314, allocations: 14.65 MB / 1.035 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.576, allocations: 2.406 kB / 1.035 GB, free: 9.863 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.596099854446948]