Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.00203/0.00203, allocations: 113.5 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.002591/0.002591, allocations: 214.5 kB / 23.04 MB, free: 5.078 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.775/2.775, allocations: 476.7 MB / 0.7715 GB, free: 4.324 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.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",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.00199/0.00199, allocations: 66.72 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 169.9 MB / 1.284 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004975/0.3505, allocations: 2.1 MB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005276/0.3558, allocations: 2.651 MB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.356, allocations: 7.938 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.3579, allocations: 0.506 MB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.3581, allocations: 71.58 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.3593, allocations: 282.9 kB / 1.29 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.3599, allocations: 318.4 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3601, allocations: 53.17 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.3603, allocations: 115.4 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.3606, allocations: 135.3 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.3606, allocations: 11.94 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008719/0.3615, allocations: 355.5 kB / 1.291 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3617, allocations: 115.5 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.362, allocations: 218.5 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.3634, allocations: 0.821 MB / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3634, allocations: 0 / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3634, allocations: 0 / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.3634, allocations: 0 / 1.292 GB, free: 3.918 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001621/0.365, allocations: 0.8197 MB / 1.293 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3651, allocations: 12.03 kB / 1.293 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.782e-05/0.3651, allocations: 12.08 kB / 1.293 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.3652, allocations: 42.75 kB / 1.293 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.3653, allocations: 68.52 kB / 1.293 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.366, allocations: 335.1 kB / 1.293 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.366, allocations: 4.375 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.3661, allocations: 8.375 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3664, allocations: 131.8 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3664, allocations: 0 / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3665, allocations: 4 kB / 1.293 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3665, allocations: 4 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.3667, allocations: 99.88 kB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.3678, allocations: 0.5228 MB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.368, allocations: 90.72 kB / 1.294 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3682, allocations: 56.91 kB / 1.294 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.3682, allocations: 8 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.3685, allocations: 137 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.3685, allocations: 96 / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0007145/0.3692, allocations: 314.8 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.3693, allocations: 81.11 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.3707, allocations: 0.7935 MB / 1.295 GB, free: 212 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3708, allocations: 25.7 kB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.3712, allocations: 292.3 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3712, allocations: 31.7 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.3713, allocations: 29.7 kB / 1.296 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3715, allocations: 310 kB / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3716, allocations: 47.97 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3717, allocations: 51.91 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.372, allocations: 156.2 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.372, allocations: 0 / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005304/0.3725, allocations: 270.8 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.3726, allocations: 37.69 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3726, allocations: 8 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3726, allocations: 3.938 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.3727, allocations: 4 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3727, allocations: 4 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3729, allocations: 11.92 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.3729, allocations: 4 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0005326/0.3735, allocations: 352.5 kB / 1.297 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3736, allocations: 71.53 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/0.3742, allocations: 300.9 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3742, allocations: 0 / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3742, allocations: 0 / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3742, allocations: 3.984 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.3748, allocations: 348.5 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3748, allocations: 0 / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3749, allocations: 8 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3749, allocations: 0 / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3749, allocations: 11.98 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3749, allocations: 0 / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3749, allocations: 0 / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.3755, allocations: 326.6 kB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.3757, allocations: 71.45 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.3758, allocations: 11.98 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.376, allocations: 4.188 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.376, allocations: 7.984 kB / 1.298 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3761, allocations: 8 kB / 1.298 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001122/0.3772, allocations: 0.5809 MB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3772, allocations: 4 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006622/0.3778, allocations: 127.9 kB / 1.299 GB, free: 12.59 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001477/0.3793, allocations: 0.9414 MB / 1.299 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.3797, allocations: 171.3 kB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.3797, allocations: 4 kB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3799, allocations: 123.3 kB / 1.3 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.3808, allocations: 126 kB / 1.3 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/0.3899, allocations: 4.681 MB / 1.304 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.3909, allocations: 0.9782 MB / 1.305 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.3911, allocations: 29.94 kB / 1.305 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.3914, allocations: 163.4 kB / 1.306 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/0.3914, allocations: 0 / 1.306 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.4304, allocations: 12.28 MB / 1.318 GB, free: 9.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.88, allocations: 9.906 kB / 1.318 GB, free: 9.176 MB / 1.014 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.659917813027278] Failed to read output from testmodel.py, exit status != 0: 13.523486828024033 13.067730611 12.700733628 Calling exit ...