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.001383/0.001383, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001533/0.001533, allocations: 215 kB / 20.13 MB, free: 2.949 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.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.06/3.06, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 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.002349/0.002349, allocations: 67.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9727/0.9751, allocations: 179 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003985/0.979, allocations: 2.185 MB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003616/0.9827, allocations: 2.822 MB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.9829, allocations: 6.688 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.9847, allocations: 0.5438 MB / 1.346 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.9852, allocations: 164.4 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/0.986, allocations: 205.6 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000595/0.9865, allocations: 389 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.9867, allocations: 50.03 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.9869, allocations: 134.3 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.9871, allocations: 161.2 kB / 1.347 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.9872, allocations: 8.25 kB / 1.347 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.9874, allocations: 65.84 kB / 1.347 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.9876, allocations: 135.7 kB / 1.347 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.9878, allocations: 240.5 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.9887, allocations: 0.7266 MB / 1.348 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9887, allocations: 0 / 1.348 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9887, allocations: 0 / 1.348 GB, free: 11.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.9888, allocations: 0 / 1.348 GB, free: 11.51 MB / 1.061 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.001345/0.9901, allocations: 0.9353 MB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.9902, allocations: 10.38 kB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.596e-05/0.9902, allocations: 9.281 kB / 1.349 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.9902, allocations: 37.42 kB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.9903, allocations: 78.27 kB / 1.349 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.9909, allocations: 457.6 kB / 1.349 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.9909, allocations: 10.78 kB / 1.349 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.9909, allocations: 4.703 kB / 1.349 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.9911, allocations: 99.19 kB / 1.349 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.9911, allocations: 4 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.9912, allocations: 1.625 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.9912, allocations: 0.9375 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.9913, allocations: 41.84 kB / 1.349 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.9921, allocations: 0.5339 MB / 1.35 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.9926, allocations: 95.66 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.9927, allocations: 35.59 kB / 1.35 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.9927, allocations: 1.188 kB / 1.35 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.9929, allocations: 87.09 kB / 1.35 GB, free: 9.703 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.9929, allocations: 1.312 kB / 1.35 GB, free: 9.703 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004809/0.9934, allocations: 196.6 kB / 1.35 GB, free: 9.605 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.9934, allocations: 109 kB / 1.35 GB, free: 9.477 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.9947, allocations: 0.9371 MB / 1.351 GB, free: 9.125 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.9948, allocations: 26.77 kB / 1.351 GB, free: 9.094 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.995, allocations: 325.3 kB / 1.352 GB, free: 8.836 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.995, allocations: 16.42 kB / 1.352 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.9951, allocations: 24.59 kB / 1.352 GB, free: 8.805 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.9951, allocations: 312.6 kB / 1.352 GB, free: 8.496 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.9952, allocations: 26.72 kB / 1.352 GB, free: 8.488 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.9953, allocations: 80.81 kB / 1.352 GB, free: 8.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.9955, allocations: 68.41 kB / 1.352 GB, free: 8.395 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9955, allocations: 0 / 1.352 GB, free: 8.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000311/0.9958, allocations: 178.5 kB / 1.352 GB, free: 8.293 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9958, allocations: 6.172 kB / 1.352 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9958, allocations: 1.031 kB / 1.352 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.9958, allocations: 5.156 kB / 1.352 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.9959, allocations: 14.19 kB / 1.352 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9959, allocations: 5.062 kB / 1.352 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.9961, allocations: 13.16 kB / 1.352 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.9962, allocations: 7.219 kB / 1.352 GB, free: 8.273 MB / 1.061 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.000414/0.9966, allocations: 319.8 kB / 1.353 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.9967, allocations: 71.38 kB / 1.353 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.9968, allocations: 82.56 kB / 1.353 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.9968, allocations: 5.062 kB / 1.353 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.9968, allocations: 4.5 kB / 1.353 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.9969, allocations: 5.156 kB / 1.353 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.9974, allocations: 396.5 kB / 1.353 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.9974, allocations: 4 kB / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.9974, allocations: 8.609 kB / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.9974, allocations: 0 / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.9975, allocations: 2.859 kB / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9975, allocations: 0 / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9975, allocations: 5.062 kB / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.9978, allocations: 200.7 kB / 1.353 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.998, allocations: 142 kB / 1.354 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.998, allocations: 2.969 kB / 1.354 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.9981, allocations: 9.453 kB / 1.354 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.9982, allocations: 10.45 kB / 1.354 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.9982, allocations: 4.078 kB / 1.354 GB, free: 7.465 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001024/0.9993, allocations: 0.6893 MB / 1.354 GB, free: 7.207 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9993, allocations: 0 / 1.354 GB, free: 7.207 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00041/0.9997, allocations: 69.3 kB / 1.354 GB, free: 7.191 MB / 1.061 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * 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.00207/1.002, allocations: 1.054 MB / 1.355 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002747/1.002, allocations: 68.97 kB / 1.355 GB, free: 6.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.002, allocations: 5.156 kB / 1.355 GB, free: 6.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/1.002, allocations: 41.66 kB / 1.356 GB, free: 6.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/1.003, allocations: 169 kB / 1.356 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007487/1.01, allocations: 4.858 MB / 1.36 GB, free: 3.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/1.011, allocations: 0.9936 MB / 1.361 GB, free: 3.219 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003126/1.011, allocations: 45.52 kB / 1.361 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/1.012, allocations: 192.2 kB / 1.362 GB, free: 3.059 MB / 1.061 GB Notification: Performance of SimCode: time 1.252e-06/1.012, allocations: 0 / 1.362 GB, free: 3.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04469/1.056, allocations: 13.45 MB / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.33, allocations: 12.41 kB / 1.375 GB, free: 1.527 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.08283573598601] Failed to read output from testmodel.py, exit status != 0: 11.521635754033923 11.546217588 10.553105966 Calling exit ...