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.0008142/0.0008142, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008737/0.0008737, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8897/0.8897, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.18e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002027/0.002049, allocations: 1.388 MB / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.002174, allocations: 47.77 kB / 0.9519 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.002214, allocations: 0 / 0.9519 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.002379, allocations: 7.938 kB / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.002491, allocations: 15.86 kB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.002495, allocations: 4 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.126e-05/0.002566, allocations: 19.91 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.002614, allocations: 11.98 kB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.002659, allocations: 4 kB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.002715, allocations: 15.92 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.002735, allocations: 0 / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.002782, allocations: 11.94 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.002823, allocations: 4 kB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.002841, allocations: 4 kB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002942, allocations: 31.83 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002945, allocations: 4 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002946, allocations: 0 / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.002951, allocations: 7.938 kB / 0.952 GB, free: 1.91 MB / 0.9011 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.0002936/0.003244, allocations: 260 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.003285, allocations: 8.031 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.003317, allocations: 30.75 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.003338, allocations: 4.938 kB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.003473, allocations: 117.7 kB / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.003482, allocations: 384 / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.003488, allocations: 384 / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.594e-05/0.003564, allocations: 42.12 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003571, allocations: 192 / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.003577, allocations: 384 / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.003597, allocations: 12.12 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.003614, allocations: 0 / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.003729, allocations: 124.8 kB / 0.9526 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.003766, allocations: 22.61 kB / 0.9526 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.003782, allocations: 8.859 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.003801, allocations: 4.062 kB / 0.9526 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.003823, allocations: 38.5 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003824, allocations: 0 / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001128/0.003937, allocations: 37.69 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.003964, allocations: 55.47 kB / 0.9527 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.004047, allocations: 121.8 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.004055, allocations: 25.7 kB / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.004086, allocations: 88.14 kB / 0.953 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.004104, allocations: 3.953 kB / 0.953 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.004126, allocations: 13.72 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.004205, allocations: 318.8 kB / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.004216, allocations: 0 / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.004227, allocations: 7.938 kB / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.00425, allocations: 12.86 kB / 0.9533 GB, free: 400 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.004252, allocations: 4.062 kB / 0.9533 GB, free: 396 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.49e-05/0.004297, allocations: 33.7 kB / 0.9533 GB, free: 356 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.004311, allocations: 6.344 kB / 0.9533 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.004317, allocations: 3.984 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004328, allocations: 0 / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.108e-05/0.004379, allocations: 7.938 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004384, allocations: 320 / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.004394, allocations: 3.938 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.004399, allocations: 0 / 0.9534 GB, free: 336 kB / 0.9011 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 4.981e-05/0.004449, allocations: 109.8 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.004455, allocations: 11.98 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.004525, allocations: 49.03 kB / 0.9535 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.004527, allocations: 0 / 0.9535 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.004532, allocations: 3.938 kB / 0.9535 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004534, allocations: 3.938 kB / 0.9535 GB, free: 136 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.00461, allocations: 124.8 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.004611, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.004619, allocations: 4 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.004621, allocations: 0 / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.004626, allocations: 0 / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.004627, allocations: 4.031 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.004629, allocations: 3.938 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.266e-05/0.004682, allocations: 69.06 kB / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.004691, allocations: 3.953 kB / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.004699, allocations: 0 / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-06/0.004704, allocations: 0 / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.004716, allocations: 7.938 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.004718, allocations: 0 / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.004759, allocations: 99.25 kB / 0.9538 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004759, allocations: 0 / 0.9538 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001301/0.004889, allocations: 4 kB / 0.9538 GB, free: 15.76 MB / 0.9167 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.0003257/0.005215, allocations: 0.6082 MB / 0.9544 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.952e-05/0.005295, allocations: 15.92 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.005296, allocations: 0 / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.157e-06/0.0053, allocations: 0 / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.005411, allocations: 12.09 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.006288, allocations: 1.113 MB / 0.9555 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.00633, allocations: 63.34 kB / 0.9556 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.41e-05/0.006384, allocations: 11.88 kB / 0.9556 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.006415, allocations: 12.48 kB / 0.9556 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.006416, allocations: 0 / 0.9556 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.02297, allocations: 2.038 MB / 0.9576 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.099, allocations: 7.656 kB / 0.9576 GB, free: 11.89 MB / 0.9167 GB " [Timeout remaining time 293] (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: 11.206241708248854] Failed to read output from testmodel.py, exit status != 0: 7.181876610964537 7.195729789 7.190706716 Calling exit ...