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.001836/0.001836, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002145/0.002145, allocations: 220.2 kB / 23.03 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.875/2.875, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 177] 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.002102/0.002102, allocations: 59.8 kB / 1.118 GB, free: 39.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003749/0.3184, allocations: 2.118 MB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003745/0.3222, allocations: 2.527 MB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.3223, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.3237, allocations: 494.9 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.3242, allocations: 171.2 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.3248, allocations: 210.1 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.3253, allocations: 388.8 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3254, allocations: 33.2 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3256, allocations: 135.3 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.3258, allocations: 163.1 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.3258, allocations: 8 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.326, allocations: 67.95 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.3262, allocations: 139.4 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.3264, allocations: 158.7 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008397/0.3272, allocations: 0.7235 MB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3272, allocations: 0 / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3272, allocations: 4 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.3272, allocations: 0 / 1.291 GB, free: 3.293 MB / 0.9825 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.001326/0.3286, allocations: 0.8779 MB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3286, allocations: 8.031 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.3286, allocations: 4.188 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.3287, allocations: 34.75 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3288, allocations: 76.42 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.3293, allocations: 391 kB / 1.293 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3293, allocations: 12.12 kB / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3294, allocations: 8 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.3296, allocations: 181.3 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3296, allocations: 3.984 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3296, allocations: 0 / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3297, allocations: 0 / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3298, allocations: 43.97 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.3306, allocations: 0.4918 MB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.331, allocations: 94.64 kB / 1.293 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.3311, allocations: 40.84 kB / 1.293 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3311, allocations: 4 kB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.3313, allocations: 121 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.3313, allocations: 0 / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004628/0.3318, allocations: 197.2 kB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.3319, allocations: 106.8 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3331, allocations: 0.9305 MB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.3331, allocations: 29.7 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.3334, allocations: 324 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.3334, allocations: 23.83 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.3335, allocations: 33.66 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3336, allocations: 310 kB / 1.295 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.3337, allocations: 27.98 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.3339, allocations: 157.4 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3341, allocations: 69.69 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3341, allocations: 0 / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003123/0.3344, allocations: 177.1 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3344, allocations: 4 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3344, allocations: 4.031 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3344, allocations: 4 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.3345, allocations: 19.92 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3345, allocations: 4.328 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.3347, allocations: 11.95 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.3347, allocations: 0 / 1.296 GB, free: 14.23 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.0003482/0.335, allocations: 317.7 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.3351, allocations: 71.53 kB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.3355, allocations: 192 kB / 1.296 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3355, allocations: 8 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3355, allocations: 3.938 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3355, allocations: 3.984 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.336, allocations: 360.4 kB / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.336, allocations: 0 / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.336, allocations: 8 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.336, allocations: 0 / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.336, allocations: 7.938 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3361, allocations: 4 kB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.3361, allocations: 11.92 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.3364, allocations: 200.6 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3365, allocations: 63.53 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.3366, allocations: 4 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3367, allocations: 7.984 kB / 1.297 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.3368, allocations: 15.92 kB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3368, allocations: 4 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008823/0.3377, allocations: 0.6902 MB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3377, allocations: 192 / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003301/0.338, allocations: 59.94 kB / 1.298 GB, free: 12.14 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.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.002312/0.3403, allocations: 1.098 MB / 1.299 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3406, allocations: 75.89 kB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3406, allocations: 0 / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3407, allocations: 43.97 kB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.3415, allocations: 168.6 kB / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/0.3484, allocations: 4.881 MB / 1.304 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.3489, allocations: 395.7 kB / 1.304 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.3492, allocations: 42.95 kB / 1.304 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.3494, allocations: 203.4 kB / 1.305 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.3494, allocations: 0 / 1.305 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.3898, allocations: 14.33 MB / 1.319 GB, free: 7.227 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.62, allocations: 7.156 kB / 1.319 GB, free: 7.227 MB / 1.014 GB " [Timeout remaining time 286] (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: 20.346764398971573] Failed to read output from testmodel.py, exit status != 0: 14.342230133945122 13.866927635 13.536302812 Calling exit ...