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.001551/0.001551, allocations: 101.3 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.001867/0.001867, allocations: 215 kB / 23.03 MB, free: 4.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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002021/0.002021, allocations: 70.84 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003622/0.3528, allocations: 2.016 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.3564, allocations: 2.363 MB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3565, allocations: 3.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3578, allocations: 458 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.358, allocations: 71.53 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/0.3588, allocations: 282.6 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.3593, allocations: 318.3 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.3594, allocations: 45.2 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3596, allocations: 115.5 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.3598, allocations: 151.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.3598, allocations: 8 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006349/0.3605, allocations: 347.5 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.3606, allocations: 107.5 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3608, allocations: 142.9 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3619, allocations: 0.8365 MB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3619, allocations: 3.938 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3619, allocations: 0 / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.362, allocations: 4 kB / 1.334 GB, free: 10.24 MB / 1.029 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.001146/0.3631, allocations: 0.8197 MB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3631, allocations: 12.03 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.625e-05/0.3632, allocations: 4.188 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.3632, allocations: 46.73 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/0.3633, allocations: 64.52 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.3638, allocations: 335.1 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3639, allocations: 4.375 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3639, allocations: 8.375 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.3642, allocations: 165 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3642, allocations: 0 / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3642, allocations: 7.984 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3642, allocations: 7.938 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3644, allocations: 129.6 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.3652, allocations: 0.4956 MB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3654, allocations: 132.4 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3655, allocations: 86.56 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.3656, allocations: 11.98 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.3658, allocations: 158.8 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.3658, allocations: 4 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000579/0.3664, allocations: 370.6 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.3665, allocations: 89.05 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009961/0.3674, allocations: 0.7973 MB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3675, allocations: 25.7 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.3678, allocations: 296.2 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3678, allocations: 23.78 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.3679, allocations: 25.72 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.368, allocations: 314 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.3681, allocations: 77.67 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.3682, allocations: 81.61 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3684, allocations: 156.2 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3684, allocations: 0 / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003969/0.3688, allocations: 332.4 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.3688, allocations: 29.7 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3688, allocations: 4 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3689, allocations: 0 / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.3689, allocations: 7.984 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3689, allocations: 7.938 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3691, allocations: 7.938 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.3691, allocations: 8 kB / 1.339 GB, free: 4.848 MB / 1.029 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.0003849/0.3695, allocations: 346 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.3696, allocations: 75.53 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.3701, allocations: 330.7 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3701, allocations: 0 / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3701, allocations: 0 / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3701, allocations: 0 / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.3705, allocations: 332.5 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3705, allocations: 4 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.3705, allocations: 7.984 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3705, allocations: 0 / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3705, allocations: 7.938 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3705, allocations: 0 / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3705, allocations: 4 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.371, allocations: 344.1 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3711, allocations: 87.5 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.3712, allocations: 7.938 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3713, allocations: 4 kB / 1.34 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.3713, allocations: 11.98 kB / 1.34 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3714, allocations: 4 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007718/0.3721, allocations: 0.5848 MB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3721, allocations: 0 / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004591/0.3726, allocations: 123.9 kB / 1.341 GB, free: 2.504 MB / 1.029 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.001121/0.3737, allocations: 0.986 MB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.3741, allocations: 242.7 kB / 1.342 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3741, allocations: 4 kB / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3742, allocations: 145.1 kB / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.3748, allocations: 125.2 kB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006211/0.381, allocations: 4.856 MB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3814, allocations: 378.9 kB / 1.347 GB, free: 11.55 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.3816, allocations: 25.95 kB / 1.347 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.3818, allocations: 171.3 kB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of SimCode: time 1.001e-06/0.3818, allocations: 0 / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.4247, allocations: 12.8 MB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.12, allocations: 13.48 kB / 1.36 GB, free: 14.85 MB / 1.061 GB " [Timeout remaining time 287] (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: 20.119095633970574] Failed to read output from testmodel.py, exit status != 0: 13.289707403979264 13.310540359 12.945194181 Calling exit ...