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.001666/0.001666, 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.002088/0.002088, allocations: 218.1 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 8 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.215/3.215, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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.002095/0.002095, allocations: 71.75 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3891, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003681/0.3927, allocations: 2.087 MB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003881/0.3966, allocations: 2.659 MB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.3968, allocations: 4 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.3981, allocations: 0.5056 MB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.3983, allocations: 71.53 kB / 1.351 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.3994, allocations: 279.3 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.3999, allocations: 323.3 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.4001, allocations: 53.14 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.4003, allocations: 115.5 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.4005, allocations: 135.2 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.4006, allocations: 8 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.4012, allocations: 363.5 kB / 1.352 GB, free: 9.836 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.4014, allocations: 111.4 kB / 1.352 GB, free: 9.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.4016, allocations: 214.5 kB / 1.352 GB, free: 9.516 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.4027, allocations: 0.8288 MB / 1.353 GB, free: 8.684 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4027, allocations: 0 / 1.353 GB, free: 8.684 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4027, allocations: 0 / 1.353 GB, free: 8.684 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.4028, allocations: 0 / 1.353 GB, free: 8.684 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.001315/0.4041, allocations: 0.8274 MB / 1.354 GB, free: 7.816 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4041, allocations: 8.031 kB / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.4041, allocations: 4.188 kB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.4042, allocations: 42.75 kB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.4043, allocations: 68.5 kB / 1.354 GB, free: 7.688 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.4048, allocations: 331.2 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4048, allocations: 8.375 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.4048, allocations: 12.31 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.4051, allocations: 133.6 kB / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4051, allocations: 0 / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4051, allocations: 4 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4051, allocations: 4 kB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.4053, allocations: 87.95 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/0.4061, allocations: 0.5228 MB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.4063, allocations: 90.72 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.4064, allocations: 60.95 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.4065, allocations: 7.984 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.4067, allocations: 133.1 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.4067, allocations: 0 / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0005526/0.4072, allocations: 306.8 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.4073, allocations: 81.11 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.4084, allocations: 0.8051 MB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.4084, allocations: 25.7 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.4087, allocations: 288.3 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.4088, allocations: 31.73 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.4088, allocations: 21.72 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.409, allocations: 318 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.4091, allocations: 47.97 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.4092, allocations: 43.98 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.4094, allocations: 164.5 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4094, allocations: 4 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003963/0.4098, allocations: 266.8 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.4098, allocations: 37.7 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4098, allocations: 0 / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4098, allocations: 7.938 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.4099, allocations: 11.92 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.4099, allocations: 0 / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.4101, allocations: 15.89 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.4101, allocations: 4 kB / 1.358 GB, free: 3.668 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.0004056/0.4105, allocations: 351.2 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.4106, allocations: 63.58 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.4111, allocations: 301 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4111, allocations: 7.938 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4111, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4111, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.4116, allocations: 348.5 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4116, allocations: 0 / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.4116, allocations: 11.98 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4116, allocations: 0 / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4116, allocations: 12 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4116, allocations: 3.984 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4116, allocations: 128 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.4121, allocations: 314.2 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.4122, allocations: 79.42 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.4123, allocations: 8 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.4124, allocations: 4 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.4125, allocations: 7.984 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4125, allocations: 11.94 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000801/0.4133, allocations: 0.5809 MB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4133, allocations: 0 / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004674/0.4138, allocations: 123.9 kB / 1.36 GB, free: 1.375 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.001168/0.4149, allocations: 0.9415 MB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.4152, allocations: 183.2 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4153, allocations: 0 / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.4154, allocations: 115.4 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.416, allocations: 132.9 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/0.423, allocations: 4.691 MB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.4238, allocations: 0.9704 MB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.4239, allocations: 25.95 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4242, allocations: 167.4 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of SimCode: time 1.853e-06/0.4242, allocations: 0 / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.4669, allocations: 12.27 MB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.18, allocations: 7.766 kB / 1.379 GB, free: 13.92 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: 20.122103753034025] Failed to read output from testmodel.py, exit status != 0: 13.347821109986398 13.363079632 12.957144718 Calling exit ...