Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.00141/0.00141, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001937/0.001937, allocations: 211.5 kB / 23.04 MB, free: 5.062 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.373/3.373, allocations: 0.5003 GB / 0.8062 GB, free: 26.75 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.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",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.002036/0.002036, allocations: 72.08 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3875, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003047/0.3906, allocations: 1.517 MB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3925, allocations: 1.246 MB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.3926, allocations: 0 / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.3928, allocations: 15.86 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.393, allocations: 47.78 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3932, allocations: 51.86 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.3934, allocations: 159.5 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3936, allocations: 41.48 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3937, allocations: 75.83 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3939, allocations: 59.64 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.3939, allocations: 12 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.153e-05/0.394, allocations: 28 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.3941, allocations: 55.81 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.818e-05/0.3942, allocations: 75.58 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.3945, allocations: 191.2 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3945, allocations: 3.938 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3945, allocations: 3.984 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.3945, allocations: 0 / 1.349 GB, free: 12.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007707/0.3953, allocations: 429.3 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3953, allocations: 15.97 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.436e-05/0.3954, allocations: 4.188 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.3954, allocations: 38.75 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.3955, allocations: 20.8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.3958, allocations: 205.9 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.396, allocations: 218.2 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.396, allocations: 8.125 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.3964, allocations: 165.5 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3964, allocations: 0 / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3964, allocations: 4 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.3965, allocations: 7.984 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.3966, allocations: 39.98 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.3977, allocations: 435.5 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.3978, allocations: 34.56 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.3978, allocations: 21 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3979, allocations: 7.984 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.3979, allocations: 42.56 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3979, allocations: 0 / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002792/0.3982, allocations: 105.5 kB / 1.351 GB, free: 10.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3982, allocations: 55.34 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.3985, allocations: 215.8 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3985, allocations: 29.7 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.3986, allocations: 124.1 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.3986, allocations: 31.78 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.3987, allocations: 33.7 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3988, allocations: 322.8 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.3989, allocations: 31.98 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.399, allocations: 102.2 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3992, allocations: 138.2 kB / 1.352 GB, free: 9.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3992, allocations: 4 kB / 1.352 GB, free: 9.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000274/0.3995, allocations: 149.6 kB / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3995, allocations: 8.031 kB / 1.352 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3995, allocations: 4 kB / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3995, allocations: 4 kB / 1.352 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3996, allocations: 31.86 kB / 1.352 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3996, allocations: 4 kB / 1.352 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.3997, allocations: 15.88 kB / 1.352 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3997, allocations: 4 kB / 1.352 GB, free: 9.512 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.000148/0.3999, allocations: 149.8 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.3999, allocations: 15.91 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.4002, allocations: 123.1 kB / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4002, allocations: 3.938 kB / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4002, allocations: 0 / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4002, allocations: 0 / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.4004, allocations: 196.6 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4004, allocations: 0 / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.4005, allocations: 23.92 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4005, allocations: 0 / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.4005, allocations: 4 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.4005, allocations: 3.938 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4005, allocations: 4 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4007, allocations: 183.4 kB / 1.352 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.4008, allocations: 15.91 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.4008, allocations: 4 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.401, allocations: 23.91 kB / 1.352 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.4011, allocations: 0 / 1.352 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4011, allocations: 27.91 kB / 1.353 GB, free: 8.668 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001559/0.4012, allocations: 157.5 kB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4012, allocations: 7.938 kB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003233/0.4016, allocations: 31.89 kB / 1.353 GB, free: 8.477 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0007271/0.4023, allocations: 0.7476 MB / 1.353 GB, free: 7.707 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.4025, allocations: 71.83 kB / 1.353 GB, free: 7.637 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4025, allocations: 0 / 1.353 GB, free: 7.637 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.4025, allocations: 28.67 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.4028, allocations: 30.64 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.4051, allocations: 1.913 MB / 1.355 GB, free: 5.52 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.4055, allocations: 0.7312 MB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.4056, allocations: 60.92 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.4057, allocations: 47.42 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4057, allocations: 0 / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.4331, allocations: 4.402 MB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.33, allocations: 9.719 kB / 1.361 GB, free: 432 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.252433772955555] Failed to read output from testmodel.py, exit status != 0: 12.487463645986281 12.503896 12.106239219 Calling exit ...