Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001293/0.001293, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001507/0.001507, allocations: 211 kB / 20.13 MB, free: 2.969 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.018/3.018, allocations: 0.49 GB / 0.7923 GB, free: 1.359 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_12_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.002005/0.002005, allocations: 71.89 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 176.1 MB / 1.322 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002827/1.012, allocations: 2.074 MB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002627/1.015, allocations: 2.648 MB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/1.015, allocations: 0 / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/1.016, allocations: 0.5046 MB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/1.016, allocations: 76.28 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/1.017, allocations: 271.2 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/1.017, allocations: 326.8 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/1.017, allocations: 68.11 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/1.018, allocations: 115.8 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/1.018, allocations: 137.4 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/1.018, allocations: 7.781 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/1.018, allocations: 333.9 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/1.018, allocations: 102.7 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/1.019, allocations: 212.1 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009634/1.02, allocations: 0.8266 MB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.02, allocations: 0.6562 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/1.02, allocations: 0 / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.556e-05/1.02, allocations: 0.5 kB / 1.329 GB, free: 20.27 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.001195/1.021, allocations: 0.8986 MB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.021, allocations: 14.88 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/1.021, allocations: 5.906 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/1.021, allocations: 44.27 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/1.021, allocations: 71.23 kB / 1.33 GB, free: 19.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/1.022, allocations: 399.9 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/1.022, allocations: 7.781 kB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/1.022, allocations: 10.19 kB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/1.022, allocations: 126.8 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.022, allocations: 0 / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/1.022, allocations: 5.984 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/1.022, allocations: 6.484 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/1.022, allocations: 92.78 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009402/1.023, allocations: 0.5506 MB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/1.023, allocations: 94.83 kB / 1.331 GB, free: 18.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.814e-05/1.023, allocations: 56.92 kB / 1.331 GB, free: 18.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.8e-05/1.024, allocations: 5.859 kB / 1.331 GB, free: 18.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/1.024, allocations: 132.1 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/1.024, allocations: 3.938 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.00056/1.024, allocations: 307.5 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/1.024, allocations: 89.59 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/1.025, allocations: 0.7935 MB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.025, allocations: 27.08 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/1.026, allocations: 294.4 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/1.026, allocations: 26.22 kB / 1.333 GB, free: 17.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/1.026, allocations: 26.36 kB / 1.333 GB, free: 17.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/1.026, allocations: 317 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/1.026, allocations: 46.25 kB / 1.333 GB, free: 17.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/1.026, allocations: 46.7 kB / 1.333 GB, free: 17.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/1.026, allocations: 157.7 kB / 1.333 GB, free: 17.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.026, allocations: 1.25 kB / 1.333 GB, free: 17.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003697/1.026, allocations: 272.4 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/1.026, allocations: 39.34 kB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.026, allocations: 5.281 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.026, allocations: 0.8125 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/1.027, allocations: 11.88 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.027, allocations: 0.625 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/1.027, allocations: 7.656 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/1.027, allocations: 3.844 kB / 1.334 GB, free: 16.99 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.0003471/1.027, allocations: 344.1 kB / 1.334 GB, free: 16.78 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/1.027, allocations: 71.77 kB / 1.334 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/1.028, allocations: 302.3 kB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/1.028, allocations: 1 kB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.028, allocations: 5.047 kB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.028, allocations: 1.344 kB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/1.028, allocations: 385.3 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.028, allocations: 0.5 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/1.028, allocations: 6.703 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.028, allocations: 1.094 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/1.028, allocations: 7.875 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.028, allocations: 0.5312 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.028, allocations: 1.094 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/1.029, allocations: 323.9 kB / 1.335 GB, free: 16.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/1.029, allocations: 147.4 kB / 1.335 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/1.029, allocations: 3.734 kB / 1.335 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/1.029, allocations: 13.03 kB / 1.335 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/1.029, allocations: 5.531 kB / 1.335 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/1.029, allocations: 4.969 kB / 1.335 GB, free: 15.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007416/1.03, allocations: 0.5889 MB / 1.336 GB, free: 15.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 0 / 1.336 GB, free: 15.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005241/1.031, allocations: 130.6 kB / 1.336 GB, free: 15.74 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.0008409/1.031, allocations: 0.9334 MB / 1.337 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002833/1.032, allocations: 179.8 kB / 1.337 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.032, allocations: 0 / 1.337 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/1.032, allocations: 116.8 kB / 1.337 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/1.032, allocations: 135.5 kB / 1.337 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/1.038, allocations: 4.682 MB / 1.342 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/1.039, allocations: 0.978 MB / 1.343 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001696/1.039, allocations: 24.25 kB / 1.343 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.039, allocations: 164.5 kB / 1.343 GB, free: 11.57 MB / 1.061 GB Notification: Performance of SimCode: time 1.162e-06/1.039, allocations: 4 kB / 1.343 GB, free: 11.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/1.077, allocations: 12.14 MB / 1.355 GB, free: 10.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.774/10.85, allocations: 5.078 kB / 1.355 GB, free: 10.35 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.37265126098646] Failed to read output from testmodel.py, exit status != 0: 10.98570977296913 11.003767624 9.980563909 Calling exit ...