Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002046/0.002046, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002611/0.002611, allocations: 217.4 kB / 22.25 MB, free: 5.105 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.824 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.323/3.323, allocations: 0.49 GB / 0.7951 GB, free: 35.37 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.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",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.00212/0.00212, allocations: 67.22 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3875, allocations: 176.1 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003442/0.3909, allocations: 1.501 MB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.393, allocations: 1.197 MB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.3931, allocations: 3.938 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.3933, allocations: 19.86 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3936, allocations: 43.78 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3938, allocations: 63.72 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3941, allocations: 147.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.3942, allocations: 41.5 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3944, allocations: 79.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3946, allocations: 63.69 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.3946, allocations: 12 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.804e-05/0.3947, allocations: 28 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.643e-05/0.3948, allocations: 51.81 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3949, allocations: 59.64 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3953, allocations: 211.1 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3953, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3953, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.3953, allocations: 3.984 kB / 1.329 GB, free: 14.03 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009337/0.3963, allocations: 421.3 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3963, allocations: 8.031 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.678e-05/0.3964, allocations: 42.75 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.839e-05/0.3965, allocations: 16.84 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.3969, allocations: 210.5 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.3971, allocations: 222.2 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3971, allocations: 4.375 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.3976, allocations: 260.3 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3976, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.3976, allocations: 8 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.3976, allocations: 7.984 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.3977, allocations: 47.91 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3989, allocations: 407.6 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.399, allocations: 42.5 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.399, allocations: 20.84 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.3991, allocations: 7.984 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3991, allocations: 38.56 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3991, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003417/0.3995, allocations: 101.6 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.3995, allocations: 59.34 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.3998, allocations: 215.7 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.3998, allocations: 29.7 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.3999, allocations: 124.1 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.4, allocations: 31.94 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.4, allocations: 33.72 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4002, allocations: 326.8 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.4002, allocations: 27.97 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4004, allocations: 102.3 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.4006, allocations: 142.1 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4006, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002809/0.4009, allocations: 153.3 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4009, allocations: 8 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4009, allocations: 384 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4009, allocations: 8 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.401, allocations: 23.98 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.401, allocations: 11.88 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.4011, allocations: 15.83 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4011, allocations: 8 kB / 1.332 GB, free: 10.57 MB / 1.029 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.0001517/0.4013, allocations: 141.8 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.4013, allocations: 15.91 kB / 1.332 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.4016, allocations: 118.9 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4016, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4016, allocations: 3.938 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4016, allocations: 11.98 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.4018, allocations: 180.7 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4018, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.4019, allocations: 19.92 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4019, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4019, allocations: 4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4019, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4019, allocations: 7.938 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4021, allocations: 187.4 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.4022, allocations: 15.91 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.4022, allocations: 0 / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4024, allocations: 23.97 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.4025, allocations: 7.938 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.4025, allocations: 19.97 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000158/0.4026, allocations: 153.5 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4026, allocations: 3.938 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003165/0.403, allocations: 31.94 kB / 1.333 GB, free: 9.559 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: 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.0007252/0.4037, allocations: 0.7593 MB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.4039, allocations: 67.84 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4039, allocations: 0 / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.4039, allocations: 24.53 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4043, allocations: 20.69 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.4064, allocations: 1.924 MB / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4066, allocations: 118.1 kB / 1.336 GB, free: 6.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.4067, allocations: 56.92 kB / 1.336 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.4068, allocations: 47.42 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4068, allocations: 0 / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.4409, allocations: 4.94 MB / 1.341 GB, free: 1.586 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.21, allocations: 8.109 kB / 1.341 GB, free: 1.582 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.246163745003287] Failed to read output from testmodel.py, exit status != 0: 12.32093283199356 12.33702419 11.938329583 Calling exit ...