Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001696/0.001696, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002261/0.002261, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_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.002041/0.002041, allocations: 62.11 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3531, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004753/0.3578, allocations: 2.119 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.3624, allocations: 2.533 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.3627, allocations: 3.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.3643, allocations: 493.8 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.3648, allocations: 167.2 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.3656, allocations: 208 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006959/0.3663, allocations: 400.5 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3665, allocations: 29.27 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.3668, allocations: 131.4 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.3671, allocations: 159.2 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.3671, allocations: 11.94 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.3674, allocations: 71.94 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.3676, allocations: 131.5 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.3678, allocations: 154.8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3688, allocations: 0.7429 MB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3688, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3688, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.282e-05/0.3689, allocations: 3.938 kB / 1.334 GB, free: 10.16 MB / 1.029 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.00175/0.3706, allocations: 0.8638 MB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3707, allocations: 8.031 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.3707, allocations: 4.188 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.3707, allocations: 34.75 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.3709, allocations: 84.36 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.3716, allocations: 398.9 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3716, allocations: 12.12 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3716, allocations: 4 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.372, allocations: 181.3 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.372, allocations: 0 / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.372, allocations: 0 / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.372, allocations: 0 / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3721, allocations: 43.97 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.3731, allocations: 495.7 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.3735, allocations: 106.7 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.3736, allocations: 36.83 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3736, allocations: 4 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.3738, allocations: 109.1 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.3738, allocations: 0 / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005201/0.3743, allocations: 201.1 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.3744, allocations: 106.8 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3757, allocations: 0.9305 MB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.3757, allocations: 33.7 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.376, allocations: 327.9 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3761, allocations: 23.83 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.3761, allocations: 29.7 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3763, allocations: 306 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.3764, allocations: 27.98 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3765, allocations: 165.2 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3767, allocations: 70 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3767, allocations: 4 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000314/0.377, allocations: 177.1 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.377, allocations: 7.938 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.377, allocations: 0 / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.377, allocations: 4 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.3771, allocations: 15.98 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3771, allocations: 3.938 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.3773, allocations: 11.95 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3773, allocations: 7.984 kB / 1.338 GB, free: 5.098 MB / 1.029 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.0003529/0.3777, allocations: 319.1 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.3777, allocations: 79.56 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.3781, allocations: 188 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3781, allocations: 4 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3782, allocations: 3.938 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3782, allocations: 0 / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.3786, allocations: 356.5 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3786, allocations: 0 / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.3787, allocations: 8 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3787, allocations: 0 / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3787, allocations: 7.984 kB / 1.339 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3787, allocations: 4 kB / 1.339 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3787, allocations: 7.938 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.379, allocations: 204.6 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.3791, allocations: 59.53 kB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.3792, allocations: 8 kB / 1.34 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3793, allocations: 3.984 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.3794, allocations: 15.97 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3794, allocations: 7.984 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008818/0.3803, allocations: 0.6864 MB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3803, allocations: 0 / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003189/0.3806, allocations: 67.88 kB / 1.34 GB, free: 3.016 MB / 1.029 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.002352/0.3829, allocations: 1.098 MB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.3832, allocations: 67.97 kB / 1.342 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3832, allocations: 0 / 1.342 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3833, allocations: 47.91 kB / 1.342 GB, free: 1.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.3841, allocations: 171.2 kB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.3905, allocations: 4.873 MB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.391, allocations: 399.7 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.3912, allocations: 46.95 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.3914, allocations: 199.4 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of SimCode: time 6.42e-07/0.3914, allocations: 4 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.4322, allocations: 14.35 MB / 1.361 GB, free: 14.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.38, allocations: 0 / 1.361 GB, free: 14.08 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.46878887398634] Failed to read output from testmodel.py, exit status != 0: 13.609928325982764 13.636479457 13.262895242 Calling exit ...