Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001423/0.001423, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001421/0.001421, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.319/1.319, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.405/2.405, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.88 kB / 1.059 GB, free: 0.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2751, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002697/0.2778, allocations: 1.497 MB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2793, allocations: 1.185 MB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.2794, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2795, allocations: 23.84 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.2797, allocations: 35.8 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.2799, allocations: 55.84 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.2801, allocations: 151.6 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2802, allocations: 33.36 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.2803, allocations: 87.7 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2804, allocations: 59.75 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.2805, allocations: 12 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.2805, allocations: 28 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.2806, allocations: 55.81 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.2807, allocations: 71.52 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.2809, allocations: 207.1 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2809, allocations: 0 / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2809, allocations: 4 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.281, allocations: 0 / 1.219 GB, free: 12.41 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.0006684/0.2816, allocations: 0.4906 MB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2817, allocations: 12.03 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.2817, allocations: 42.73 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.2818, allocations: 24.8 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.2821, allocations: 252 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.2822, allocations: 119.4 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2822, allocations: 8.375 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.2825, allocations: 164.5 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2826, allocations: 0 / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.2826, allocations: 0 / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.2826, allocations: 19.92 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.2827, allocations: 39.92 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009666/0.2836, allocations: 464.5 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.721e-05/0.2837, allocations: 30.52 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.2838, allocations: 24.84 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2838, allocations: 0 / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.2838, allocations: 38.56 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.2838, allocations: 0 / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000255/0.2841, allocations: 109.9 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.2841, allocations: 59.28 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.2843, allocations: 215.8 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.2843, allocations: 33.64 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.2844, allocations: 120.1 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2844, allocations: 27.89 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.2845, allocations: 33.7 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2846, allocations: 326.8 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.2847, allocations: 31.97 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.2848, allocations: 94.3 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.285, allocations: 142.1 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.285, allocations: 3.984 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002332/0.2852, allocations: 153.6 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2852, allocations: 9.719 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2852, allocations: 0 / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2852, allocations: 4 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.2853, allocations: 27.98 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2853, allocations: 15.94 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.2854, allocations: 11.88 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.2854, allocations: 8 kB / 1.222 GB, free: 8.98 MB / 0.9669 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.000116/0.2855, allocations: 141.8 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.2856, allocations: 23.92 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.2858, allocations: 110.9 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.2858, allocations: 0 / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2858, allocations: 11.91 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2858, allocations: 0 / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.286, allocations: 229.6 kB / 1.222 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.286, allocations: 4 kB / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.2861, allocations: 11.98 kB / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2861, allocations: 7.938 kB / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2861, allocations: 0 / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2861, allocations: 4 kB / 1.222 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2861, allocations: 3.938 kB / 1.222 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.2863, allocations: 191.4 kB / 1.223 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.2863, allocations: 97 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2864, allocations: 0 / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2866, allocations: 15.98 kB / 1.223 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.2866, allocations: 7.922 kB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.2866, allocations: 19.98 kB / 1.223 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000143/0.2868, allocations: 156.2 kB / 1.223 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2868, allocations: 3.938 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002861/0.2871, allocations: 35.89 kB / 1.223 GB, free: 7.824 MB / 0.9669 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.0005986/0.2877, allocations: 0.7438 MB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.2878, allocations: 71.83 kB / 1.224 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2878, allocations: 0.75 kB / 1.224 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.2879, allocations: 23.98 kB / 1.224 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2881, allocations: 31.86 kB / 1.224 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.29, allocations: 1.912 MB / 1.226 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2904, allocations: 0.7392 MB / 1.226 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00011/0.2905, allocations: 52.84 kB / 1.226 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.2905, allocations: 47.41 kB / 1.227 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.2905, allocations: 0 / 1.227 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.3173, allocations: 4.218 MB / 1.231 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.549, allocations: 6.953 kB / 1.231 GB, free: 15.9 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.827921659998538]