Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001738/0.001738, allocations: 110.1 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.002159/0.002159, allocations: 218 kB / 23.04 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.348/3.348, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",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.002011/0.002011, allocations: 62.53 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3723, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004176/0.3765, allocations: 2.206 MB / 1.348 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.3808, allocations: 2.83 MB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.381, allocations: 4 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.3834, allocations: 0.5483 MB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.3839, allocations: 155.2 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.3847, allocations: 223.5 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.3854, allocations: 382.2 kB / 1.352 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3856, allocations: 29.27 kB / 1.352 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.3858, allocations: 139.3 kB / 1.352 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.3861, allocations: 155.1 kB / 1.352 GB, free: 9.797 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.3861, allocations: 12 kB / 1.352 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.3864, allocations: 79.88 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.3865, allocations: 131.5 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.387, allocations: 230.3 kB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3882, allocations: 0.7273 MB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3882, allocations: 4 kB / 1.353 GB, free: 8.617 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3882, allocations: 3.938 kB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3882, allocations: 3.938 kB / 1.353 GB, free: 8.609 MB / 1.045 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.001441/0.3896, allocations: 0.8585 MB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3897, allocations: 12.03 kB / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.3897, allocations: 4.188 kB / 1.354 GB, free: 7.695 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.3897, allocations: 34.75 kB / 1.354 GB, free: 7.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3899, allocations: 72.47 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.3908, allocations: 410.9 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3908, allocations: 4.125 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3909, allocations: 4 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3912, allocations: 96.23 kB / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3912, allocations: 4 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.3912, allocations: 0 / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3912, allocations: 3.938 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.3915, allocations: 47.91 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3927, allocations: 0.4957 MB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.3932, allocations: 98.69 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3934, allocations: 36.83 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3934, allocations: 0 / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.3937, allocations: 83.38 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3937, allocations: 0 / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006811/0.3944, allocations: 209.1 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.3944, allocations: 102.8 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.3963, allocations: 0.9344 MB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3963, allocations: 33.7 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.3968, allocations: 320 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3968, allocations: 11.91 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.3969, allocations: 29.7 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3971, allocations: 310 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3973, allocations: 27.98 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3974, allocations: 80.2 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3977, allocations: 73.94 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3977, allocations: 0 / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004896/0.3982, allocations: 173.1 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3982, allocations: 11.97 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3982, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3982, allocations: 4 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3984, allocations: 15.98 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3984, allocations: 7.938 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.3986, allocations: 8 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3987, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 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.0006715/0.3993, allocations: 321.7 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3995, allocations: 71.53 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.4, allocations: 192 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4, allocations: 4 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4, allocations: 7.922 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4, allocations: 3.984 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.4007, allocations: 368.4 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4007, allocations: 0 / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.4007, allocations: 8 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.4007, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4008, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.4008, allocations: 8 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4008, allocations: 3.938 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.4013, allocations: 208.5 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.4014, allocations: 63.56 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.4015, allocations: 0 / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4017, allocations: 4 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.4018, allocations: 15.92 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.4018, allocations: 7.984 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001474/0.4033, allocations: 0.6864 MB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4033, allocations: 0 / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005868/0.4039, allocations: 67.89 kB / 1.359 GB, free: 1.703 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: 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 (7): * Single equations (assignments): 5 * 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.003163/0.407, allocations: 1.056 MB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.4074, allocations: 63.97 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4075, allocations: 0 / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.4076, allocations: 35.92 kB / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4088, allocations: 192.3 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.4202, allocations: 4.857 MB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.4213, allocations: 0.9902 MB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.4216, allocations: 46.95 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.4221, allocations: 191.4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of SimCode: time 9.72e-07/0.4221, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05782/0.4799, allocations: 13.57 MB / 1.38 GB, free: 12.89 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.66, allocations: 5.938 kB / 1.38 GB, free: 12.88 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.6754139289842] Failed to read output from testmodel.py, exit status != 0: 13.885003137984313 13.909808699 13.516359397 Calling exit ...