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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109.2 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 200.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.9 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7635 GB, free: 10.17 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001994/0.001994, allocations: 67.89 kB / 1.108 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/0.7554, allocations: 168.7 MB / 1.272 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002921/0.7584, allocations: 1.507 MB / 1.274 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.7601, allocations: 1.182 MB / 1.275 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.7602, allocations: 0 / 1.275 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.7603, allocations: 23.86 kB / 1.275 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.7605, allocations: 47.77 kB / 1.275 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.7607, allocations: 59.47 kB / 1.275 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.7609, allocations: 143.6 kB / 1.275 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.7611, allocations: 38.88 kB / 1.275 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.7612, allocations: 87.69 kB / 1.275 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.7614, allocations: 54.23 kB / 1.275 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.7614, allocations: 12 kB / 1.275 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.7615, allocations: 35.98 kB / 1.275 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.7616, allocations: 47.89 kB / 1.276 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.7617, allocations: 71.56 kB / 1.276 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.762, allocations: 207.1 kB / 1.276 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.762, allocations: 0 / 1.276 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.762, allocations: 0 / 1.276 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.762, allocations: 0 / 1.276 GB, free: 0.9336 MB / 0.9669 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.0007359/0.7627, allocations: 498.5 kB / 1.276 GB, free: 408 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.7627, allocations: 12.03 kB / 1.276 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.7628, allocations: 38.75 kB / 1.276 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.7629, allocations: 20.8 kB / 1.276 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.7632, allocations: 260 kB / 1.277 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.7633, allocations: 119.3 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.7634, allocations: 8.375 kB / 1.277 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.7637, allocations: 157.5 kB / 1.277 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7637, allocations: 4 kB / 1.277 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.7637, allocations: 0 / 1.277 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.7638, allocations: 19.97 kB / 1.277 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.7639, allocations: 43.91 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.7649, allocations: 464.4 kB / 1.277 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.355e-05/0.765, allocations: 34.56 kB / 1.277 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.765, allocations: 16.86 kB / 1.277 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.7651, allocations: 11.92 kB / 1.277 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.7651, allocations: 34.56 kB / 1.277 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.7651, allocations: 0 / 1.277 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002761/0.7654, allocations: 97.58 kB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.7654, allocations: 63.34 kB / 1.278 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.7657, allocations: 215.7 kB / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.7658, allocations: 33.7 kB / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.7659, allocations: 124.3 kB / 1.278 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.766, allocations: 31.73 kB / 1.278 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.766, allocations: 25.72 kB / 1.278 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7662, allocations: 330.8 kB / 1.278 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.7662, allocations: 27.98 kB / 1.278 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.7663, allocations: 110.2 kB / 1.278 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.7665, allocations: 138.2 kB / 1.279 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7665, allocations: 0 / 1.279 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002552/0.7668, allocations: 153.2 kB / 1.279 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7668, allocations: 10.09 kB / 1.279 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7668, allocations: 8 kB / 1.279 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7668, allocations: 4 kB / 1.279 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.7669, allocations: 23.98 kB / 1.279 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.7669, allocations: 7.938 kB / 1.279 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.767, allocations: 11.89 kB / 1.279 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.767, allocations: 11.94 kB / 1.279 GB, free: 13.49 MB / 0.9825 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.0001392/0.7672, allocations: 146.3 kB / 1.279 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.7672, allocations: 15.91 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.7674, allocations: 118.9 kB / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.7674, allocations: 4 kB / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7674, allocations: 3.938 kB / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7675, allocations: 0 / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.7678, allocations: 233.5 kB / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7678, allocations: 0 / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.7678, allocations: 12 kB / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7678, allocations: 0 / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.7679, allocations: 3.984 kB / 1.279 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7679, allocations: 0 / 1.279 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7679, allocations: 7.938 kB / 1.279 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.7681, allocations: 195.3 kB / 1.28 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.7681, allocations: 89.06 kB / 1.28 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.7682, allocations: 0 / 1.28 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.7684, allocations: 19.97 kB / 1.28 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.7684, allocations: 7.938 kB / 1.28 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.7684, allocations: 11.98 kB / 1.28 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001614/0.7686, allocations: 161.5 kB / 1.28 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7686, allocations: 0 / 1.28 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003019/0.7689, allocations: 31.95 kB / 1.28 GB, free: 12.36 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 (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.0007769/0.7697, allocations: 0.7477 MB / 1.281 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.7699, allocations: 67.83 kB / 1.281 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7699, allocations: 4 kB / 1.281 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.7699, allocations: 31.89 kB / 1.281 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.7702, allocations: 28.62 kB / 1.281 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.7724, allocations: 1.928 MB / 1.283 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.7728, allocations: 0.7275 MB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.773, allocations: 56.88 kB / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.773, allocations: 55.36 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.773, allocations: 0 / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.8029, allocations: 4.226 MB / 1.288 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.856, allocations: 5.781 kB / 1.288 GB, free: 4.398 MB / 0.9825 GB " [Timeout remaining time 291] (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: 14.765774867963046] Failed to read output from testmodel.py, exit status != 0: 8.925278365961276 8.94024888 8.175250659 Calling exit ...