Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008028/0.0008028, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008896/0.0008896, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9335/0.9335, 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.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.06 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.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",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.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.86e-05, allocations: 10.16 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001871/0.00189, allocations: 1.497 MB / 0.9519 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.002972, allocations: 1.216 MB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.003041, allocations: 3.938 kB / 0.9531 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.003223, allocations: 15.88 kB / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.003413, allocations: 43.7 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.003553, allocations: 56.78 kB / 0.9532 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.003707, allocations: 155.5 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.003827, allocations: 29.23 kB / 0.9534 GB, free: 452 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.003924, allocations: 115.7 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.004015, allocations: 43.84 kB / 0.9536 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.004039, allocations: 8 kB / 0.9536 GB, free: 284 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.004097, allocations: 31.97 kB / 0.9536 GB, free: 252 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.004156, allocations: 43.89 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.004205, allocations: 51.83 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.00444, allocations: 219.3 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004442, allocations: 4 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004443, allocations: 4 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.004447, allocations: 0 / 0.9539 GB, free: 15.93 MB / 0.9167 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.000497/0.004944, allocations: 425.2 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.00498, allocations: 8.031 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.005018, allocations: 42.73 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.005067, allocations: 20.8 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.005285, allocations: 203.3 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.005414, allocations: 218.2 kB / 0.9548 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.005426, allocations: 12.38 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.005677, allocations: 253 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005684, allocations: 192 / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.005701, allocations: 7.938 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.005723, allocations: 15.86 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.039e-05/0.005783, allocations: 43.97 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.006408, allocations: 403.6 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.006462, allocations: 38.5 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.006733, allocations: 24.84 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.006755, allocations: 7.984 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.006776, allocations: 30.56 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.006777, allocations: 4 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002003/0.006977, allocations: 105.8 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.007002, allocations: 51.41 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.00715, allocations: 223.8 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.007171, allocations: 25.7 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.007231, allocations: 124.2 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.00725, allocations: 31.88 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.00729, allocations: 33.66 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.007371, allocations: 330.8 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.007411, allocations: 31.98 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.007482, allocations: 94.28 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.0076, allocations: 146.1 kB / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007602, allocations: 0 / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001633/0.007765, allocations: 153.3 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.00778, allocations: 8 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.007785, allocations: 80 / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.007798, allocations: 4 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.007874, allocations: 27.92 kB / 0.9569 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.007882, allocations: 7.984 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.007928, allocations: 12.31 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.00794, allocations: 15.94 kB / 0.957 GB, free: 12.47 MB / 0.9167 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 9.049e-05/0.00803, allocations: 141.8 kB / 0.9571 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.008063, allocations: 19.86 kB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.008215, allocations: 119.1 kB / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008217, allocations: 0 / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.008222, allocations: 4 kB / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.008228, allocations: 0 / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.008392, allocations: 188.6 kB / 0.9574 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008393, allocations: 0 / 0.9574 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.008423, allocations: 15.98 kB / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008425, allocations: 4 kB / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.008432, allocations: 0 / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008433, allocations: 0 / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008435, allocations: 7.938 kB / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.008568, allocations: 191.3 kB / 0.9576 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.008583, allocations: 11.91 kB / 0.9576 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.008597, allocations: 0 / 0.9576 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.008714, allocations: 19.97 kB / 0.9576 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.008731, allocations: 11.98 kB / 0.9577 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.008746, allocations: 11.98 kB / 0.9577 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001009/0.008847, allocations: 165.5 kB / 0.9578 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008847, allocations: 0 / 0.9578 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002274/0.009075, allocations: 35.83 kB / 0.9579 GB, free: 11.47 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 (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.0004511/0.009526, allocations: 0.7472 MB / 0.9586 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.00965, allocations: 71.84 kB / 0.9587 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009651, allocations: 0 / 0.9587 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.009676, allocations: 23.98 kB / 0.9587 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.009901, allocations: 26.27 kB / 0.9587 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.01127, allocations: 1.921 MB / 0.9606 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.162e-05/0.01136, allocations: 122.2 kB / 0.9607 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.969e-05/0.01145, allocations: 60.91 kB / 0.9608 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.01151, allocations: 44.48 kB / 0.9608 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of SimCode: time 8.41e-07/0.01151, allocations: 0 / 0.9608 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.03119, allocations: 5.021 MB / 0.9657 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.389, allocations: 2.234 kB / 0.9657 GB, free: 3.426 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.461987053975463] Failed to read output from testmodel.py, exit status != 0: 7.475598447024822 7.488707018 7.482468029 Calling exit ...