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.001849/0.001849, 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.002427/0.002427, allocations: 218.9 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.663/1.663, 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 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.877/2.877, allocations: 476.8 MB / 0.7715 GB, free: 3.879 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.002096/0.002096, allocations: 65.12 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00454/0.3311, allocations: 2.024 MB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004192/0.3353, allocations: 2.355 MB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.3355, allocations: 4 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.3372, allocations: 459 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.3375, allocations: 71.59 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.3387, allocations: 281.3 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006534/0.3393, allocations: 326.4 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.3395, allocations: 49.17 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.3397, allocations: 115.5 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.34, allocations: 135.2 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.3401, allocations: 8 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.3408, allocations: 359.5 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.341, allocations: 107.5 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.3413, allocations: 146.9 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3427, allocations: 0.8327 MB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3427, allocations: 0 / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3427, allocations: 0 / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.3427, allocations: 0 / 1.291 GB, free: 3.363 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.001651/0.3444, allocations: 0.8158 MB / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3444, allocations: 12.03 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.857e-05/0.3445, allocations: 12.09 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.3445, allocations: 34.75 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3446, allocations: 68.52 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.3453, allocations: 343 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3453, allocations: 8.375 kB / 1.292 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3453, allocations: 8.375 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.3456, allocations: 163.2 kB / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3456, allocations: 0 / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3457, allocations: 4 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3457, allocations: 4 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.3459, allocations: 129.6 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3469, allocations: 0.4956 MB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3471, allocations: 124.4 kB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3473, allocations: 90.61 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.3473, allocations: 7.938 kB / 1.293 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.3476, allocations: 162.8 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/0.3476, allocations: 0 / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0007111/0.3483, allocations: 386.2 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.3484, allocations: 81.11 kB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.3497, allocations: 0.7896 MB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3497, allocations: 29.7 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.35, allocations: 292.2 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3501, allocations: 19.8 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.3501, allocations: 37.7 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3503, allocations: 306 kB / 1.295 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.3504, allocations: 81.67 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.3505, allocations: 81.67 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3507, allocations: 164.2 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3507, allocations: 0 / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004483/0.3511, allocations: 312.9 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.3512, allocations: 37.69 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3512, allocations: 0 / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3512, allocations: 0 / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.3513, allocations: 8 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3513, allocations: 4 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3515, allocations: 23.88 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.3515, allocations: 4 kB / 1.296 GB, free: 13.97 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.0004221/0.3519, allocations: 345 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.352, allocations: 63.58 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.3526, allocations: 338.6 kB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3526, allocations: 4 kB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3526, allocations: 7.922 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3526, allocations: 0 / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.3531, allocations: 336.5 kB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.3531, allocations: 4.125 kB / 1.297 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.3532, allocations: 8 kB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3532, allocations: 0 / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3532, allocations: 4 kB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3532, allocations: 0 / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3532, allocations: 0 / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.3537, allocations: 355.9 kB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.3539, allocations: 71.44 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.3539, allocations: 4 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3541, allocations: 7.984 kB / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3541, allocations: 12 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3541, allocations: 4 kB / 1.298 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00084/0.355, allocations: 0.5887 MB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.355, allocations: 0 / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000485/0.3555, allocations: 127.8 kB / 1.298 GB, free: 11.62 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.001175/0.3566, allocations: 0.9743 MB / 1.299 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.357, allocations: 238.7 kB / 1.299 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.357, allocations: 0 / 1.299 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.3572, allocations: 157 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.3579, allocations: 126.1 kB / 1.3 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/0.3653, allocations: 4.853 MB / 1.305 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.3658, allocations: 378.9 kB / 1.305 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.3659, allocations: 25.89 kB / 1.305 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.3662, allocations: 163.4 kB / 1.305 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/0.3662, allocations: 8 kB / 1.305 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/0.4118, allocations: 12.8 MB / 1.318 GB, free: 7.984 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.4, allocations: 8.047 kB / 1.318 GB, free: 7.977 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: 20.2944435790414] Failed to read output from testmodel.py, exit status != 0: 14.099190973094665 13.591584837 13.244247807 Calling exit ...