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.001856/0.001856, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002297/0.002297, allocations: 220.1 kB / 23.03 MB, free: 4.922 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.197/3.197, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 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.00206/0.00206, allocations: 65.83 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3353, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004009/0.3393, allocations: 2.022 MB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00374/0.343, allocations: 2.363 MB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.3432, allocations: 0 / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.3446, allocations: 465.9 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3448, allocations: 67.59 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.3457, allocations: 285.6 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.3462, allocations: 318.3 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.3465, allocations: 57.17 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.3467, allocations: 111.5 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.347, allocations: 139.2 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.3471, allocations: 8 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008982/0.348, allocations: 351.5 kB / 1.351 GB, free: 9.746 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.3482, allocations: 103.5 kB / 1.351 GB, free: 9.645 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.3484, allocations: 150.8 kB / 1.352 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.3498, allocations: 0.8327 MB / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3498, allocations: 0 / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3498, allocations: 0 / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3498, allocations: 0 / 1.352 GB, free: 8.66 MB / 1.045 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.001552/0.3514, allocations: 0.8197 MB / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3514, allocations: 12.03 kB / 1.353 GB, free: 7.789 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.751e-05/0.3514, allocations: 4.188 kB / 1.353 GB, free: 7.785 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.3515, allocations: 38.75 kB / 1.353 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.3516, allocations: 68.52 kB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.3521, allocations: 339.1 kB / 1.354 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.3522, allocations: 4.375 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3522, allocations: 12.38 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.3525, allocations: 164.8 kB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3525, allocations: 0 / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3525, allocations: 0 / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3525, allocations: 4 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3527, allocations: 133.6 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.3535, allocations: 0.4995 MB / 1.354 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.3537, allocations: 124.4 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3538, allocations: 90.61 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.3538, allocations: 4 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.3541, allocations: 166.7 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.3541, allocations: 0 / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0005594/0.3546, allocations: 378.2 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3547, allocations: 85.11 kB / 1.355 GB, free: 5.523 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.3557, allocations: 0.7934 MB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3557, allocations: 29.7 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.356, allocations: 284.3 kB / 1.356 GB, free: 4.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.356, allocations: 35.73 kB / 1.356 GB, free: 4.371 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.3561, allocations: 29.7 kB / 1.356 GB, free: 4.336 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3562, allocations: 310 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3563, allocations: 81.67 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.3564, allocations: 77.67 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3566, allocations: 168.1 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3566, allocations: 0 / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003842/0.357, allocations: 308.5 kB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.3571, allocations: 41.69 kB / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3571, allocations: 0 / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3571, allocations: 0 / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.3572, allocations: 12 kB / 1.357 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3572, allocations: 0 / 1.357 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3573, allocations: 19.88 kB / 1.357 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.3573, allocations: 4 kB / 1.357 GB, free: 3.277 MB / 1.045 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.0003551/0.3577, allocations: 347.2 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.3578, allocations: 63.58 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.3582, allocations: 326.7 kB / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3582, allocations: 4 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3582, allocations: 0 / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3583, allocations: 3.984 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.3586, allocations: 344.5 kB / 1.358 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3586, allocations: 128 / 1.358 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.3587, allocations: 12 kB / 1.358 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3587, allocations: 0 / 1.358 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3587, allocations: 4 kB / 1.358 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3587, allocations: 0 / 1.358 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3587, allocations: 3.984 kB / 1.358 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.3591, allocations: 356.2 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3593, allocations: 71.44 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.3593, allocations: 11.94 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3594, allocations: 11.98 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3595, allocations: 4 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3595, allocations: 11.98 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007037/0.3602, allocations: 0.5848 MB / 1.359 GB, free: 1.039 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3602, allocations: 0 / 1.359 GB, free: 1.039 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004278/0.3606, allocations: 119.9 kB / 1.36 GB, free: 0.9219 MB / 1.045 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.001056/0.3617, allocations: 0.9666 MB / 1.36 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.3621, allocations: 246.7 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3621, allocations: 0 / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3622, allocations: 161 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.3628, allocations: 124.6 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006052/0.3689, allocations: 4.849 MB / 1.366 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.3693, allocations: 366.9 kB / 1.366 GB, free: 9.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.3694, allocations: 29.89 kB / 1.366 GB, free: 9.957 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.3696, allocations: 171.4 kB / 1.366 GB, free: 9.789 MB / 1.061 GB Notification: Performance of SimCode: time 9.01e-07/0.3696, allocations: 0 / 1.366 GB, free: 9.789 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/0.4101, allocations: 12.82 MB / 1.379 GB, free: 13.21 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.06, allocations: 1.719 kB / 1.379 GB, free: 13.21 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.739622198045254] Failed to read output from testmodel.py, exit status != 0: 13.22621310595423 13.242893318 12.889658409 Calling exit ...