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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006883/0.006883, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001293/0.001293, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 55.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7778, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003839/0.7817, allocations: 1.493 MB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.7834, allocations: 1.109 MB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.7835, allocations: 0 / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.7837, allocations: 19.88 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.784, allocations: 43.77 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.7842, allocations: 62.22 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.7845, allocations: 151.5 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.7846, allocations: 61.09 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.7848, allocations: 79.75 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.785, allocations: 59.7 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.785, allocations: 8 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.7851, allocations: 27.98 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.7852, allocations: 51.77 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.94e-05/0.7853, allocations: 83.56 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.7856, allocations: 194.9 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.7856, allocations: 4 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7856, allocations: 0 / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.7856, allocations: 0 / 1.169 GB, free: 372 kB / 0.8887 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.0007947/0.7864, allocations: 0.4907 MB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7865, allocations: 8.625 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.7865, allocations: 38.75 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.7866, allocations: 24.8 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.787, allocations: 261.5 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.7871, allocations: 119.4 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.7871, allocations: 4.375 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.7875, allocations: 157.5 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7875, allocations: 0 / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.7875, allocations: 7.938 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.7876, allocations: 11.92 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.7877, allocations: 47.97 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.7888, allocations: 456.5 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.469e-05/0.7889, allocations: 42.5 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.7889, allocations: 24.86 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.789, allocations: 3.984 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.789, allocations: 34.56 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.789, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0002791/0.7893, allocations: 109.7 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.7893, allocations: 55.34 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.7896, allocations: 219.7 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.7896, allocations: 33.7 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.7897, allocations: 124.2 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.7897, allocations: 27.73 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.7898, allocations: 29.72 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7899, allocations: 326.8 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.79, allocations: 27.98 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.7901, allocations: 98.28 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.7903, allocations: 142.1 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7903, allocations: 4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002447/0.7906, allocations: 149.3 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7906, allocations: 8 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7906, allocations: 4 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7906, allocations: 384 / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.7907, allocations: 35.86 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.7908, allocations: 11.88 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.7908, allocations: 8 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.7908, allocations: 8 kB / 1.173 GB, free: 12.93 MB / 0.9044 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.0001338/0.791, allocations: 145.7 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.791, allocations: 19.86 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.7913, allocations: 107 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7913, allocations: 0 / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7913, allocations: 3.938 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7913, allocations: 8 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.7916, allocations: 237.5 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7916, allocations: 0 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.7916, allocations: 12 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7916, allocations: 0 / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.7917, allocations: 7.984 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7917, allocations: 0 / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7917, allocations: 7.875 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.7919, allocations: 187.8 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.7919, allocations: 89.02 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.792, allocations: 0 / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.7922, allocations: 23.97 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.7922, allocations: 11.92 kB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.7923, allocations: 15.92 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001424/0.7924, allocations: 160.2 kB / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7924, allocations: 0 / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003048/0.7927, allocations: 35.95 kB / 1.174 GB, free: 11.78 MB / 0.9044 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.0006486/0.7934, allocations: 0.7493 MB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.7936, allocations: 83.81 kB / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7936, allocations: 0 / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.7937, allocations: 23.98 kB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.794, allocations: 20 kB / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.7961, allocations: 1.925 MB / 1.176 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.7965, allocations: 0.7352 MB / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.7966, allocations: 56.83 kB / 1.177 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.7967, allocations: 43.42 kB / 1.177 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.7967, allocations: 0 / 1.177 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.8217, allocations: 4.228 MB / 1.181 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.918, allocations: 14.45 kB / 1.181 GB, free: 3.836 MB / 0.9044 GB (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 50 --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)