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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004137/0.004137, allocations: 98.97 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 196 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2754, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002654/0.2781, allocations: 1.372 MB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001622/0.2782, allocations: 47.75 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.2783, allocations: 0 / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2784, allocations: 11.94 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2786, allocations: 15.92 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.2786, allocations: 3.938 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.2786, allocations: 15.98 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.2787, allocations: 3.984 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.2787, allocations: 7.938 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.2788, allocations: 15.94 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2788, allocations: 0 / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.2788, allocations: 11.98 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.2789, allocations: 7.938 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.2789, allocations: 7.938 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.844e-05/0.279, allocations: 31.83 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.279, allocations: 4 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.279, allocations: 0 / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.279, allocations: 0 / 1.222 GB, free: 12.76 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.0003609/0.2794, allocations: 335.4 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2794, allocations: 12.03 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.2795, allocations: 30.75 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.2795, allocations: 4.938 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.2797, allocations: 176.3 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.2797, allocations: 384 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.2797, allocations: 384 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.2798, allocations: 34.25 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2798, allocations: 7.875 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.2798, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.2798, allocations: 7.984 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.2799, allocations: 4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.28, allocations: 153.7 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.2801, allocations: 22.52 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.2801, allocations: 8.922 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2801, allocations: 0 / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.2802, allocations: 34.5 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2802, allocations: 7.938 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.2803, allocations: 45.62 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2804, allocations: 51.41 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2805, allocations: 117.8 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2805, allocations: 29.7 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.2805, allocations: 80.14 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.2806, allocations: 11.89 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.2806, allocations: 13.84 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2808, allocations: 318.8 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.2808, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.2808, allocations: 4 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.2808, allocations: 16.8 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2808, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.134e-05/0.2809, allocations: 33.7 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2809, allocations: 9.656 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2809, allocations: 8.078 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.2809, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.881e-05/0.281, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.281, allocations: 4 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.281, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.281, allocations: 0 / 1.223 GB, free: 10.97 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 7.621e-05/0.2811, allocations: 110.4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.2811, allocations: 11.89 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.2812, allocations: 49.16 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2812, allocations: 4.031 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2812, allocations: 0 / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2813, allocations: 4 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.2814, allocations: 157.7 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2814, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.2814, allocations: 4 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2814, allocations: 7.922 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.2814, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2814, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2814, allocations: 3.938 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.929e-05/0.2815, allocations: 65.08 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.2816, allocations: 85.05 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2816, allocations: 11.88 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.2816, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-06/0.2816, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.2816, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.2817, allocations: 91.27 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2817, allocations: 32 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001998/0.2819, allocations: 8 kB / 1.224 GB, free: 10.27 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.0004782/0.2824, allocations: 0.6156 MB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.313e-05/0.2825, allocations: 7.938 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2825, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-06/0.2825, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.2826, allocations: 4 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2837, allocations: 1.118 MB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.284, allocations: 0.6768 MB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.564e-05/0.284, allocations: 11.94 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.2841, allocations: 15.47 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.2841, allocations: 0 / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.3049, allocations: 1.408 MB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/7.889, allocations: 11.11 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB (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)