Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001867/0.001867, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002227/0.002227, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.0021/0.0021, allocations: 69.78 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7833, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002772/0.7861, allocations: 1.408 MB / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.7862, allocations: 43.88 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.7863, allocations: 3.938 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.7864, allocations: 15.92 kB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.7865, allocations: 15.94 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.7865, allocations: 0 / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.243e-05/0.7866, allocations: 15.92 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.7867, allocations: 7.984 kB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.7867, allocations: 7.938 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.7867, allocations: 3.984 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.7868, allocations: 4 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.067e-05/0.7868, allocations: 16 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.7869, allocations: 3.938 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.7869, allocations: 7.938 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.787, allocations: 37.66 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.787, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.787, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.787, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 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.000391/0.7874, allocations: 331.4 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.7874, allocations: 12.03 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.7875, allocations: 30.75 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.7875, allocations: 8.891 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.7877, allocations: 172.4 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.7877, allocations: 384 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.7877, allocations: 8.312 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.7878, allocations: 34.23 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.7878, allocations: 3.938 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7878, allocations: 4 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.7878, allocations: 0 / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.7879, allocations: 3.938 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.788, allocations: 157.7 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.7881, allocations: 22.55 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.7881, allocations: 8.859 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.7881, allocations: 0 / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.7881, allocations: 38.61 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.7881, allocations: 0 / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.7883, allocations: 49.62 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.7883, allocations: 51.41 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.7884, allocations: 113.8 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.7885, allocations: 25.7 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.7885, allocations: 84.14 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.7885, allocations: 11.88 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.7886, allocations: 13.7 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7887, allocations: 314.8 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.7887, allocations: 8.031 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.7887, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.7888, allocations: 12.86 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7888, allocations: 0 / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.644e-05/0.7888, allocations: 41.64 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7888, allocations: 7.938 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7889, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7889, allocations: 4 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.442e-05/0.7889, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7889, allocations: 8.031 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.7889, allocations: 4 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.7889, allocations: 0 / 1.281 GB, free: 10.04 MB / 0.9825 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.704e-05/0.789, allocations: 110.4 kB / 1.281 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.789, allocations: 11.92 kB / 1.281 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.7891, allocations: 37.23 kB / 1.281 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.7891, allocations: 0 / 1.281 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7891, allocations: 0 / 1.281 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7891, allocations: 8.016 kB / 1.281 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.7893, allocations: 161.7 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.7893, allocations: 0 / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.7893, allocations: 0 / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7893, allocations: 7.875 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.7893, allocations: 0 / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7893, allocations: 4 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7893, allocations: 0 / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.62e-05/0.7894, allocations: 73.02 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.7895, allocations: 77.11 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.7895, allocations: 3.938 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-06/0.7895, allocations: 0 / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.7895, allocations: 3.938 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.7895, allocations: 4 kB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.7896, allocations: 99.56 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.7896, allocations: 0 / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001891/0.7897, allocations: 4 kB / 1.282 GB, free: 9.332 MB / 0.9825 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.0005051/0.7903, allocations: 0.6119 MB / 1.282 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.528e-05/0.7903, allocations: 11.98 kB / 1.282 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7903, allocations: 4.094 kB / 1.282 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.7903, allocations: 4 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.7905, allocations: 0 / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.7916, allocations: 1.114 MB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.7919, allocations: 0.6768 MB / 1.284 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.627e-05/0.792, allocations: 4 kB / 1.284 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.792, allocations: 7.438 kB / 1.284 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.792, allocations: 3.938 kB / 1.284 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.8165, allocations: 1.415 MB / 1.286 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.255, allocations: 13.58 kB / 1.286 GB, free: 5.434 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.561900484841317] Failed to read output from testmodel.py, exit status != 0: 9.327254320960492 9.353932016 8.562078141 Calling exit ...