Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001419/0.001419, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001441/0.001441, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.948/2.948, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_11_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.002117/0.002117, allocations: 69.77 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9557/0.9579, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004484/0.9623, allocations: 2.203 MB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004804/0.9672, allocations: 2.816 MB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.9674, allocations: 5.438 kB / 1.284 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.9693, allocations: 0.5353 MB / 1.284 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.9699, allocations: 170.7 kB / 1.285 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007505/0.9706, allocations: 204.1 kB / 1.285 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.9712, allocations: 386.4 kB / 1.285 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.9714, allocations: 47.25 kB / 1.285 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.9716, allocations: 136.1 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.9719, allocations: 164.5 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.972, allocations: 7.812 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.9722, allocations: 66.45 kB / 1.286 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.9724, allocations: 139.6 kB / 1.286 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.9727, allocations: 228.5 kB / 1.286 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.9738, allocations: 0.7224 MB / 1.287 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9738, allocations: 0 / 1.287 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9738, allocations: 3.938 kB / 1.287 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.9738, allocations: 1.469 kB / 1.287 GB, free: 6.957 MB / 0.9981 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.001664/0.9755, allocations: 0.9417 MB / 1.288 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9755, allocations: 10.75 kB / 1.288 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.285e-05/0.9755, allocations: 1.219 kB / 1.288 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.9756, allocations: 36.94 kB / 1.288 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.9757, allocations: 83.16 kB / 1.288 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.9764, allocations: 453.5 kB / 1.288 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.9764, allocations: 10.62 kB / 1.288 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.9765, allocations: 3.969 kB / 1.288 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.9767, allocations: 101.2 kB / 1.288 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.9767, allocations: 0 / 1.288 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.9767, allocations: 1.344 kB / 1.288 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.9767, allocations: 7.938 kB / 1.288 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.9768, allocations: 42.44 kB / 1.288 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009784/0.9778, allocations: 0.5299 MB / 1.289 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.9782, allocations: 94.64 kB / 1.289 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/0.9783, allocations: 31.98 kB / 1.289 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.9784, allocations: 6.312 kB / 1.289 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.9786, allocations: 90.52 kB / 1.289 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.9786, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005542/0.9791, allocations: 196.9 kB / 1.289 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.9792, allocations: 104.3 kB / 1.289 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.9808, allocations: 0.9302 MB / 1.29 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.9808, allocations: 30.86 kB / 1.29 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.9811, allocations: 325.2 kB / 1.29 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.9812, allocations: 20.28 kB / 1.291 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.9812, allocations: 28.36 kB / 1.291 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9814, allocations: 312.7 kB / 1.291 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.9815, allocations: 26.86 kB / 1.291 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.9816, allocations: 76.67 kB / 1.291 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.9818, allocations: 67.7 kB / 1.291 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9818, allocations: 1.375 kB / 1.291 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003856/0.9822, allocations: 174.4 kB / 1.291 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.9822, allocations: 5.531 kB / 1.291 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9822, allocations: 0.7031 kB / 1.291 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.9822, allocations: 1.375 kB / 1.291 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.9823, allocations: 22.41 kB / 1.291 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9823, allocations: 4.734 kB / 1.291 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.9825, allocations: 18.3 kB / 1.291 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.9825, allocations: 6.469 kB / 1.291 GB, free: 3.715 MB / 0.9981 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.0004214/0.9829, allocations: 315.4 kB / 1.292 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.983, allocations: 72.91 kB / 1.292 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.9832, allocations: 77.89 kB / 1.292 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.9832, allocations: 0 / 1.292 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.9832, allocations: 9.844 kB / 1.292 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.9832, allocations: 4 kB / 1.292 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.9837, allocations: 397.7 kB / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9838, allocations: 0 / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.9838, allocations: 8.156 kB / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9838, allocations: 0 / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.9838, allocations: 2.109 kB / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9838, allocations: 1 kB / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9838, allocations: 4.641 kB / 1.292 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.9842, allocations: 205.3 kB / 1.292 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.9844, allocations: 146.5 kB / 1.292 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.9844, allocations: 1.641 kB / 1.292 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.9845, allocations: 8.531 kB / 1.292 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.9846, allocations: 10.94 kB / 1.292 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.9846, allocations: 4.578 kB / 1.292 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009996/0.9856, allocations: 0.6853 MB / 1.293 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9856, allocations: 0 / 1.293 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003801/0.986, allocations: 62.11 kB / 1.293 GB, free: 2.641 MB / 0.9981 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.002263/0.9883, allocations: 1.072 MB / 1.294 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.9885, allocations: 70.31 kB / 1.294 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9885, allocations: 0 / 1.294 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.9886, allocations: 37.34 kB / 1.294 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.9895, allocations: 174.3 kB / 1.294 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/0.9973, allocations: 4.861 MB / 1.299 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/0.9981, allocations: 0.9973 MB / 1.3 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.9984, allocations: 50.78 kB / 1.3 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.9987, allocations: 191.4 kB / 1.3 GB, free: 14.48 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.9987, allocations: 0 / 1.3 GB, free: 14.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/1.042, allocations: 13.44 MB / 1.314 GB, free: 11.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/11.07, allocations: 13.84 kB / 1.314 GB, free: 11.11 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.48817596799927] Failed to read output from testmodel.py, exit status != 0: 11.25983566994546 11.275679539 10.298511873 Calling exit ...