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.001061/0.001061, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001094/0.001094, allocations: 210.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.002/1.002, allocations: 230.6 MB / 256.8 MB, free: 9.562 MB / 202.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.878/1.878, allocations: 0.5045 GB / 0.8104 GB, free: 2.746 MB / 0.6511 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 0.0009657/0.0009657, allocations: 71.88 kB / 1.177 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7419, allocations: 180 MB / 1.352 GB, free: 1.613 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003496/0.7454, allocations: 2.128 MB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.748, allocations: 2.53 MB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.7481, allocations: 7.938 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.7492, allocations: 492.2 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.7496, allocations: 163.2 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.7501, allocations: 210.3 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.7504, allocations: 382.9 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.7506, allocations: 25.28 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.7507, allocations: 135.4 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.7509, allocations: 151.1 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.7509, allocations: 19.94 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.7511, allocations: 71.94 kB / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.7512, allocations: 135.5 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.7513, allocations: 158.7 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.7519, allocations: 0.7312 MB / 1.36 GB, free: 10.29 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7519, allocations: 8 kB / 1.36 GB, free: 10.28 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7519, allocations: 0 / 1.36 GB, free: 10.28 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.7519, allocations: 0 / 1.36 GB, free: 10.28 MB / 1.042 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.001215/0.7531, allocations: 0.8585 MB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7532, allocations: 8.922 kB / 1.36 GB, free: 9.375 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.7532, allocations: 42.73 kB / 1.36 GB, free: 9.324 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.7533, allocations: 76.47 kB / 1.361 GB, free: 9.25 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.7537, allocations: 406.8 kB / 1.361 GB, free: 8.824 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.7537, allocations: 8.375 kB / 1.361 GB, free: 8.816 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.7537, allocations: 7.938 kB / 1.361 GB, free: 8.809 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.7539, allocations: 146.7 kB / 1.361 GB, free: 8.641 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.7539, allocations: 0 / 1.361 GB, free: 8.641 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.7539, allocations: 0 / 1.361 GB, free: 8.641 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7539, allocations: 4 kB / 1.361 GB, free: 8.637 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.754, allocations: 43.97 kB / 1.361 GB, free: 8.594 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.7545, allocations: 495.6 kB / 1.362 GB, free: 8.066 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.7548, allocations: 102.6 kB / 1.362 GB, free: 7.957 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.7548, allocations: 32.84 kB / 1.362 GB, free: 7.922 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.7548, allocations: 0 / 1.362 GB, free: 7.922 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.755, allocations: 117.1 kB / 1.362 GB, free: 7.789 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.755, allocations: 0 / 1.362 GB, free: 7.789 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0002756/0.7553, allocations: 205.2 kB / 1.362 GB, free: 7.582 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.7553, allocations: 89.09 kB / 1.362 GB, free: 7.477 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.756, allocations: 0.9267 MB / 1.363 GB, free: 6.539 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.756, allocations: 29.69 kB / 1.363 GB, free: 6.504 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.7562, allocations: 324 kB / 1.363 GB, free: 6.184 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.7562, allocations: 19.86 kB / 1.363 GB, free: 6.164 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.7563, allocations: 25.7 kB / 1.363 GB, free: 6.133 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.7563, allocations: 310 kB / 1.364 GB, free: 5.824 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.7564, allocations: 27.98 kB / 1.364 GB, free: 5.797 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.7565, allocations: 130.7 kB / 1.364 GB, free: 5.645 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.706e-05/0.7566, allocations: 70 kB / 1.364 GB, free: 5.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7566, allocations: 4.031 kB / 1.364 GB, free: 5.566 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001616/0.7567, allocations: 181.1 kB / 1.364 GB, free: 5.383 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7567, allocations: 7.984 kB / 1.364 GB, free: 5.375 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7567, allocations: 0 / 1.364 GB, free: 5.375 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7568, allocations: 3.938 kB / 1.364 GB, free: 5.371 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.7568, allocations: 12 kB / 1.364 GB, free: 5.359 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.7568, allocations: 4 kB / 1.364 GB, free: 5.355 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.7569, allocations: 15.86 kB / 1.364 GB, free: 5.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.7569, allocations: 4 kB / 1.364 GB, free: 5.336 MB / 1.042 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.0002126/0.7571, allocations: 326.2 kB / 1.364 GB, free: 5.008 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.7571, allocations: 75.52 kB / 1.365 GB, free: 4.934 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.7574, allocations: 192 kB / 1.365 GB, free: 4.73 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7574, allocations: 0 / 1.365 GB, free: 4.73 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.7574, allocations: 0 / 1.365 GB, free: 4.73 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7574, allocations: 3.938 kB / 1.365 GB, free: 4.727 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.7577, allocations: 352.5 kB / 1.365 GB, free: 4.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7577, allocations: 0 / 1.365 GB, free: 4.34 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.7577, allocations: 15.92 kB / 1.365 GB, free: 4.324 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7577, allocations: 0 / 1.365 GB, free: 4.324 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.7577, allocations: 8 kB / 1.365 GB, free: 4.316 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7577, allocations: 0 / 1.365 GB, free: 4.316 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7577, allocations: 0 / 1.365 GB, free: 4.316 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.7579, allocations: 208.5 kB / 1.365 GB, free: 4.094 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.758, allocations: 67.52 kB / 1.365 GB, free: 4.027 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.758, allocations: 4 kB / 1.365 GB, free: 4.023 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.7581, allocations: 4 kB / 1.365 GB, free: 4.02 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.7581, allocations: 15.92 kB / 1.365 GB, free: 4.004 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.7581, allocations: 3.984 kB / 1.365 GB, free: 4 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005123/0.7586, allocations: 0.6864 MB / 1.366 GB, free: 3.316 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7586, allocations: 4 kB / 1.366 GB, free: 3.312 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002274/0.7589, allocations: 59.94 kB / 1.366 GB, free: 3.254 MB / 1.042 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.001618/0.7605, allocations: 1.095 MB / 1.367 GB, free: 2.316 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.7607, allocations: 79.89 kB / 1.367 GB, free: 2.238 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7607, allocations: 0 / 1.367 GB, free: 2.238 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.492e-05/0.7607, allocations: 35.98 kB / 1.367 GB, free: 2.203 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.7612, allocations: 186 kB / 1.367 GB, free: 2.027 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.7652, allocations: 4.861 MB / 1.372 GB, free: 13.06 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.7655, allocations: 403.6 kB / 1.373 GB, free: 12.64 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.00015/0.7657, allocations: 38.98 kB / 1.373 GB, free: 12.6 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.7658, allocations: 199.4 kB / 1.373 GB, free: 12.41 MB / 1.057 GB Notification: Performance of SimCode: time 1.092e-06/0.7658, allocations: 0 / 1.373 GB, free: 12.41 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.8707, allocations: 14.58 MB / 1.387 GB, free: 14.07 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/8.202, allocations: 4 kB / 1.387 GB, free: 14.07 MB / 1.073 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: 13.023357827216387]