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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01059/0.01059, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.002511/0.002511, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7908, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003092/0.7939, allocations: 1.49 MB / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.7957, allocations: 1.11 MB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.7958, allocations: 3.938 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.796, allocations: 15.86 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.7962, allocations: 39.78 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.7964, allocations: 56.97 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.7967, allocations: 155.6 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.7969, allocations: 61.03 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.797, allocations: 87.7 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.7972, allocations: 55.69 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.7972, allocations: 12 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.7973, allocations: 28 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.7974, allocations: 51.88 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.7975, allocations: 71.52 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.7978, allocations: 206.9 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7978, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7979, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7979, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 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.0007589/0.7986, allocations: 498.5 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7987, allocations: 8.031 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.7987, allocations: 42.73 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.7988, allocations: 20.8 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.7992, allocations: 260 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.7993, allocations: 115.4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.7994, allocations: 8.375 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.7997, allocations: 161.5 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7997, allocations: 3.938 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.7998, allocations: 0 / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.7998, allocations: 15.98 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.7999, allocations: 39.92 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.801, allocations: 464.5 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.8011, allocations: 38.45 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.8012, allocations: 24.84 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.8012, allocations: 0 / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.8012, allocations: 38.56 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 3.036e-06/0.8012, allocations: 7.984 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0002909/0.8015, allocations: 101.6 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.8016, allocations: 55.34 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.8019, allocations: 215.8 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.8019, allocations: 29.7 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.802, allocations: 132.2 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.802, allocations: 27.75 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.8021, allocations: 33.7 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8022, allocations: 330.8 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.8023, allocations: 27.97 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.8024, allocations: 98.3 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.8026, allocations: 142.1 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8026, allocations: 0 / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002616/0.8029, allocations: 157.5 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8029, allocations: 8 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8029, allocations: 0 / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.803, allocations: 4 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.8031, allocations: 27.98 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.8031, allocations: 11.88 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.8032, allocations: 7.953 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.8032, allocations: 4 kB / 1.227 GB, free: 11.2 MB / 0.9512 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.0001393/0.8033, allocations: 154.5 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.8034, allocations: 19.84 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.8036, allocations: 111.2 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8036, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.8036, allocations: 7.922 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8037, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.8039, allocations: 233.5 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8039, allocations: 0 / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.804, allocations: 15.98 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.804, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.804, allocations: 8 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.804, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.804, allocations: 4.016 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.8043, allocations: 191.3 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.8043, allocations: 93.05 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.8044, allocations: 4 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.8046, allocations: 15.98 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.8047, allocations: 11.92 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.8047, allocations: 15.98 kB / 1.227 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001598/0.8049, allocations: 157.5 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8049, allocations: 4 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003083/0.8052, allocations: 27.95 kB / 1.228 GB, free: 10.04 MB / 0.9512 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.0006618/0.8059, allocations: 0.7539 MB / 1.228 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.8061, allocations: 67.84 kB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8061, allocations: 0.75 kB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.8061, allocations: 31.98 kB / 1.228 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.8064, allocations: 34.27 kB / 1.228 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.8087, allocations: 1.912 MB / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.809, allocations: 0.7392 MB / 1.231 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.8092, allocations: 48.91 kB / 1.231 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.8093, allocations: 47.41 kB / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.8093, allocations: 0 / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.8365, allocations: 4.233 MB / 1.235 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.112, allocations: 8.656 kB / 1.235 GB, free: 2.098 MB / 0.9512 GB (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 50 --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)