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.001307/0.001307, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001501/0.001501, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.789 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.795/2.795, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] 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.002186/0.002186, allocations: 67.48 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3443, allocations: 169.9 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002888/0.3472, allocations: 1.412 MB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.3473, allocations: 27.91 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.3474, allocations: 7.938 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.3476, allocations: 15.92 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.3477, allocations: 15.92 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.668e-06/0.3477, allocations: 0 / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.3477, allocations: 11.94 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.3478, allocations: 7.984 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.3478, allocations: 11.94 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.3479, allocations: 11.92 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3479, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.348, allocations: 19.92 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.348, allocations: 4 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.348, allocations: 7.938 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3481, allocations: 31.41 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3481, allocations: 0 / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3481, allocations: 0 / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3481, allocations: 4 kB / 1.284 GB, free: 10.9 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.0003827/0.3485, allocations: 258.2 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3486, allocations: 8.031 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.3486, allocations: 30.75 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.3486, allocations: 8.891 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3488, allocations: 118.5 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3488, allocations: 8.312 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3488, allocations: 384 / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.555e-05/0.3489, allocations: 30.27 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3489, allocations: 3.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.3489, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.349, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.349, allocations: 8 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.3491, allocations: 124.8 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.529e-05/0.3492, allocations: 22.55 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.3492, allocations: 4.859 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3492, allocations: 7.984 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3493, allocations: 38.61 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3493, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.3494, allocations: 45.59 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3495, allocations: 51.41 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3496, allocations: 117.8 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3496, allocations: 25.7 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3497, allocations: 88.14 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3497, allocations: 3.984 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.3497, allocations: 9.719 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3499, allocations: 319 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.3499, allocations: 0 / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.3499, allocations: 8 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.35, allocations: 8.859 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.35, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.422e-05/0.35, allocations: 37.64 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.35, allocations: 11.94 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.35, allocations: 0 / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3501, allocations: 3.938 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.3501, allocations: 4.094 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3501, allocations: 7.938 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.3501, allocations: 4 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3501, allocations: 4 kB / 1.285 GB, free: 9.312 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.958e-05/0.3502, allocations: 113.8 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.3503, allocations: 3.938 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-05/0.3504, allocations: 41.17 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3504, allocations: 3.938 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3504, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3504, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3505, allocations: 128.8 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3505, allocations: 0 / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.3505, allocations: 7.984 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3505, allocations: 3.938 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.3505, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3505, allocations: 3.938 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3505, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.201e-05/0.3506, allocations: 65.09 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.3506, allocations: 3.984 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3506, allocations: 3.938 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.3506, allocations: 4.031 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.3507, allocations: 0 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3507, allocations: 4 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.3507, allocations: 95.25 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3507, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001828/0.3509, allocations: 4 kB / 1.286 GB, free: 8.758 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.0005763/0.3515, allocations: 0.6237 MB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.3516, allocations: 4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3516, allocations: 4 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.3516, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3517, allocations: 5.719 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.3529, allocations: 1.104 MB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.353, allocations: 75.2 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.714e-05/0.3531, allocations: 12.14 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3532, allocations: 11.44 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3532, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.3845, allocations: 1.898 MB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.04, allocations: 16.64 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.83661673683673] Failed to read output from testmodel.py, exit status != 0: 12.684601278975606 12.168893476 11.817715262 Calling exit ...