Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.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.001321/0.001321, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001537/0.001537, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.793 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.301/3.301, allocations: 0.49 GB / 0.7951 GB, free: 35.56 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.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_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.003115/0.003115, allocations: 75.09 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3868, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003272/0.39, allocations: 1.391 MB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.3902, allocations: 40.36 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.3903, allocations: 0 / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3905, allocations: 11.92 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3906, allocations: 11.92 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.3906, allocations: 0 / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.3907, allocations: 19.92 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.3907, allocations: 4.281 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.3908, allocations: 7.938 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.3908, allocations: 15.92 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3908, allocations: 0 / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.3909, allocations: 8 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.3909, allocations: 3.984 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.391, allocations: 8.016 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3911, allocations: 27.86 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3911, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3911, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3911, allocations: 0 / 1.327 GB, free: 15.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003693/0.3915, allocations: 262.2 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3915, allocations: 12.03 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.3916, allocations: 30.75 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.3916, allocations: 8.875 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.3918, allocations: 126.3 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3918, allocations: 384 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3919, allocations: 4.312 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.392, allocations: 34.25 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.392, allocations: 3.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.392, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.392, allocations: 8 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.775e-05/0.392, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.3924, allocations: 216 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.3924, allocations: 18.52 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.3925, allocations: 8.922 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3925, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.3925, allocations: 30.56 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3925, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001616/0.3927, allocations: 45.62 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3927, allocations: 51.41 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3929, allocations: 114 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3929, allocations: 29.64 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.393, allocations: 88.14 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.393, allocations: 3.953 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.393, allocations: 13.72 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3932, allocations: 318.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.3932, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.3932, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.3933, allocations: 8.859 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3933, allocations: 3.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.003e-05/0.3934, allocations: 45.7 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3934, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3934, allocations: 8.297 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3934, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.3935, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3935, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.3935, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3935, allocations: 3.984 kB / 1.329 GB, free: 14.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.821e-05/0.3936, allocations: 113.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3936, allocations: 7.984 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.3937, allocations: 49.09 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3937, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3937, allocations: 3.938 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3938, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3939, allocations: 124.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3939, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.394, allocations: 8 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.394, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.394, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.394, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.394, allocations: 4.031 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.3941, allocations: 139.5 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.3941, allocations: 3.953 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3941, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.3942, allocations: 4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.3942, allocations: 4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3942, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.3943, allocations: 91.27 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3943, allocations: 3.938 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002778/0.3946, allocations: 7.938 kB / 1.329 GB, free: 13.65 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 (1): * Single equations (assignments): 1 * 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.0006282/0.3952, allocations: 0.6939 MB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.063e-05/0.3953, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3953, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.3953, allocations: 3.938 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3955, allocations: 10.03 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3967, allocations: 1.175 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.508e-05/0.3968, allocations: 63.34 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.818e-05/0.3969, allocations: 11.92 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3969, allocations: 11.44 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3969, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.4274, allocations: 1.919 MB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 8.859 kB / 1.333 GB, free: 9.762 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.67027002602117] Failed to read output from testmodel.py, exit status != 0: 11.829725487012183 11.849005428 11.454564106 Calling exit ...