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.001354/0.001354, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001744/0.001744, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.299/3.299, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.002017/0.002017, allocations: 65.25 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3523, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002896/0.3552, allocations: 1.515 MB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.357, allocations: 1.148 MB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.3571, allocations: 0 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3573, allocations: 23.86 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.3575, allocations: 39.78 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3577, allocations: 64.53 kB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.3579, allocations: 147.6 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3581, allocations: 57.31 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3582, allocations: 79.7 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.3584, allocations: 59.75 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.3584, allocations: 8 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.3585, allocations: 20 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.3586, allocations: 55.81 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.628e-05/0.3587, allocations: 75.58 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.359, allocations: 199.2 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.359, allocations: 4 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.359, allocations: 0 / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.359, allocations: 3.938 kB / 1.324 GB, free: 15.87 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.000813/0.3598, allocations: 498.5 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3599, allocations: 15.92 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.48e-05/0.36, allocations: 42.73 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.36, allocations: 16.84 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3604, allocations: 252.1 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.3605, allocations: 123.3 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3606, allocations: 8.375 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.361, allocations: 169.4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.361, allocations: 3.984 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.361, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.361, allocations: 15.98 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.3611, allocations: 35.98 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.3623, allocations: 468.3 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.3624, allocations: 34.58 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3624, allocations: 20.84 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3624, allocations: 12 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3625, allocations: 38.5 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.3625, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002897/0.3627, allocations: 109.7 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.3628, allocations: 55.34 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.363, allocations: 211.8 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3631, allocations: 25.7 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.3632, allocations: 132 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3632, allocations: 19.94 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.3632, allocations: 33.7 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3634, allocations: 326.8 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.3635, allocations: 31.91 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3636, allocations: 106.2 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3638, allocations: 134.2 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3638, allocations: 4 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002784/0.3641, allocations: 157.3 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3641, allocations: 4 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3641, allocations: 4 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3641, allocations: 7.938 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3642, allocations: 20 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3642, allocations: 12.3 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.3643, allocations: 15.89 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3643, allocations: 4 kB / 1.327 GB, free: 12.43 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.0001506/0.3645, allocations: 149.8 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.3645, allocations: 11.91 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.3648, allocations: 122.8 kB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3648, allocations: 0 / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3648, allocations: 3.938 kB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3648, allocations: 7.984 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.3651, allocations: 233.6 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3651, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.3651, allocations: 15.98 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3651, allocations: 0 / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3652, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3652, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.3652, allocations: 3.938 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3654, allocations: 183.4 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.3655, allocations: 92.95 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3655, allocations: 15.92 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.3658, allocations: 11.98 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.3658, allocations: 11.92 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3658, allocations: 15.98 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001649/0.366, allocations: 157.5 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.366, allocations: 0 / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000334/0.3663, allocations: 31.94 kB / 1.328 GB, free: 11.28 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.0007025/0.367, allocations: 0.7478 MB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.3672, allocations: 75.95 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3672, allocations: 0 / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.3672, allocations: 27.92 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3676, allocations: 35.78 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3698, allocations: 1.917 MB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3702, allocations: 0.7314 MB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.3703, allocations: 40.86 kB / 1.332 GB, free: 7.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.3704, allocations: 51.52 kB / 1.332 GB, free: 7.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.3704, allocations: 3.938 kB / 1.332 GB, free: 7.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.4072, allocations: 4.236 MB / 1.336 GB, free: 3.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.951, allocations: 11.98 kB / 1.336 GB, free: 3.328 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.868001188151538] Failed to read output from testmodel.py, exit status != 0: 9.023923924891278 9.047358724 8.684084682 Calling exit ...