Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001914/0.001914, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002525/0.002525, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.138/3.138, allocations: 0.5003 GB / 0.8026 GB, free: 6.766 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_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.002152/0.002152, allocations: 67.89 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003637/1.012, allocations: 2.086 MB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003572/1.016, allocations: 2.651 MB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/1.016, allocations: 2.75 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/1.017, allocations: 0.504 MB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/1.018, allocations: 70.7 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/1.019, allocations: 274.8 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/1.019, allocations: 321.9 kB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/1.02, allocations: 65.16 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/1.02, allocations: 111.1 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/1.02, allocations: 137 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/1.02, allocations: 8.562 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007526/1.021, allocations: 333.8 kB / 1.347 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/1.021, allocations: 107.6 kB / 1.347 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/1.021, allocations: 213.2 kB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/1.023, allocations: 0.8262 MB / 1.348 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.023, allocations: 2.188 kB / 1.348 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.344e-06/1.023, allocations: 0 / 1.348 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.367e-05/1.023, allocations: 0 / 1.348 GB, free: 11.8 MB / 1.061 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.001412/1.024, allocations: 0.8998 MB / 1.349 GB, free: 11.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.024, allocations: 10.59 kB / 1.349 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.772e-05/1.024, allocations: 1.281 kB / 1.349 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/1.024, allocations: 41.36 kB / 1.349 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/1.024, allocations: 71.23 kB / 1.349 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/1.025, allocations: 399.4 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/1.025, allocations: 7.781 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/1.025, allocations: 6.406 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/1.025, allocations: 134.7 kB / 1.349 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.025, allocations: 1.25 kB / 1.349 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/1.025, allocations: 1.703 kB / 1.349 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.025, allocations: 5.156 kB / 1.349 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/1.025, allocations: 98.48 kB / 1.349 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/1.026, allocations: 0.5497 MB / 1.35 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/1.026, allocations: 94.91 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/1.026, allocations: 56.02 kB / 1.35 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/1.027, allocations: 10.52 kB / 1.35 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/1.027, allocations: 136.8 kB / 1.35 GB, free: 9.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/1.027, allocations: 0 / 1.35 GB, free: 9.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005451/1.027, allocations: 314.5 kB / 1.35 GB, free: 9.848 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/1.027, allocations: 81.78 kB / 1.35 GB, free: 9.754 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.029, allocations: 0.7932 MB / 1.351 GB, free: 9.453 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/1.029, allocations: 31.8 kB / 1.351 GB, free: 9.418 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/1.029, allocations: 285.4 kB / 1.352 GB, free: 9.191 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/1.029, allocations: 34.56 kB / 1.352 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/1.029, allocations: 26.75 kB / 1.352 GB, free: 9.145 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/1.029, allocations: 313.2 kB / 1.352 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/1.029, allocations: 45.78 kB / 1.352 GB, free: 8.824 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.839e-05/1.029, allocations: 48.02 kB / 1.352 GB, free: 8.812 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/1.029, allocations: 160.7 kB / 1.352 GB, free: 8.707 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.029, allocations: 5.031 kB / 1.352 GB, free: 8.703 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003853/1.03, allocations: 273.7 kB / 1.352 GB, free: 8.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/1.03, allocations: 35.64 kB / 1.352 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.03, allocations: 0.6562 kB / 1.352 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.03, allocations: 0 / 1.352 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/1.03, allocations: 17.38 kB / 1.352 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/1.03, allocations: 0 / 1.352 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/1.03, allocations: 10.73 kB / 1.352 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/1.03, allocations: 4.125 kB / 1.352 GB, free: 8.52 MB / 1.061 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.000409/1.031, allocations: 342.5 kB / 1.353 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/1.031, allocations: 66.92 kB / 1.353 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/1.031, allocations: 303 kB / 1.353 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.031, allocations: 1.156 kB / 1.353 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.031, allocations: 4 kB / 1.353 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.031, allocations: 1.984 kB / 1.353 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/1.032, allocations: 385.3 kB / 1.354 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.032, allocations: 1.156 kB / 1.354 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/1.032, allocations: 6.734 kB / 1.354 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.032, allocations: 0 / 1.354 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.032, allocations: 4.688 kB / 1.354 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.032, allocations: 5.062 kB / 1.354 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.032, allocations: 0 / 1.354 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/1.032, allocations: 323.8 kB / 1.354 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/1.032, allocations: 148 kB / 1.354 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/1.032, allocations: 3.281 kB / 1.354 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/1.033, allocations: 5.438 kB / 1.354 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/1.033, allocations: 13.39 kB / 1.354 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/1.033, allocations: 4.578 kB / 1.354 GB, free: 7.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00101/1.034, allocations: 0.5843 MB / 1.355 GB, free: 7.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.034, allocations: 0 / 1.355 GB, free: 7.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008162/1.035, allocations: 127.9 kB / 1.355 GB, free: 7.285 MB / 1.061 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.001256/1.036, allocations: 0.9328 MB / 1.356 GB, free: 6.562 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000381/1.036, allocations: 182.6 kB / 1.356 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.036, allocations: 0 / 1.356 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/1.036, allocations: 121 kB / 1.356 GB, free: 6.379 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/1.037, allocations: 125.3 kB / 1.356 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007461/1.045, allocations: 4.685 MB / 1.361 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/1.045, allocations: 0.9714 MB / 1.362 GB, free: 3.258 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002034/1.045, allocations: 27.45 kB / 1.362 GB, free: 3.254 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/1.046, allocations: 169.3 kB / 1.362 GB, free: 3.113 MB / 1.061 GB Notification: Performance of SimCode: time 1.423e-06/1.046, allocations: 7.938 kB / 1.362 GB, free: 3.105 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/1.086, allocations: 12.15 MB / 1.374 GB, free: 1.879 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.882/10.97, allocations: 6.438 kB / 1.374 GB, free: 1.879 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.71662086894503] Failed to read output from testmodel.py, exit status != 0: 11.101140090962872 11.117300983 10.091399951 Calling exit ...