Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.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.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_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.007954/0.007954, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.001144/0.001144, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.381/1.381, 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.584/2.584, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7911, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002882/0.7941, allocations: 1.346 MB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001633/0.7943, allocations: 43.77 kB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.7943, allocations: 0 / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.7945, allocations: 11.94 kB / 1.168 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.7946, allocations: 19.91 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.358e-06/0.7947, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.7947, allocations: 11.92 kB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.7948, allocations: 8 kB / 1.168 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.7948, allocations: 7.938 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.7949, allocations: 4 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.7949, allocations: 4 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.844e-05/0.7949, allocations: 11.98 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.795, allocations: 15.92 kB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.795, allocations: 7.938 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.7951, allocations: 23.58 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7951, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.946e-06/0.7952, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7952, allocations: 3.938 kB / 1.168 GB, free: 2.27 MB / 0.8887 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.0003595/0.7955, allocations: 339.5 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.7956, allocations: 8.922 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.7956, allocations: 30.75 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.7957, allocations: 4.938 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.7959, allocations: 180.3 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.7959, allocations: 4.375 kB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.7959, allocations: 384 / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.796, allocations: 34.25 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.796, allocations: 3.938 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.796, allocations: 4 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.7961, allocations: 0 / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.7961, allocations: 11.94 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.7964, allocations: 247.5 kB / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.7965, allocations: 18.52 kB / 1.168 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.7965, allocations: 8.922 kB / 1.168 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.7965, allocations: 0 / 1.168 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.7965, allocations: 34.5 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.7965, allocations: 0 / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001695/0.7967, allocations: 53.52 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.7968, allocations: 55.53 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.7969, allocations: 113.8 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.7969, allocations: 25.7 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.7969, allocations: 88.14 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.797, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.797, allocations: 13.72 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7971, allocations: 318.8 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.7971, allocations: 0 / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.7972, allocations: 4 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.7972, allocations: 12.8 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7972, allocations: 3.938 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.241e-05/0.7973, allocations: 45.64 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7973, allocations: 4 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7973, allocations: 0 / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.7974, allocations: 4 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.7974, allocations: 0 / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7974, allocations: 0 / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.7975, allocations: 4.094 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.7975, allocations: 0 / 1.169 GB, free: 408 kB / 0.8887 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 9.103e-05/0.7976, allocations: 113.8 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.7976, allocations: 0 / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.7977, allocations: 49.16 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.7977, allocations: 3.984 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7977, allocations: 0 / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7977, allocations: 0 / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.7979, allocations: 161.6 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7979, allocations: 4 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.7979, allocations: 3.984 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7979, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.7979, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.798, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.798, allocations: 4.047 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.7981, allocations: 131.5 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.7981, allocations: 88.92 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.7982, allocations: 8.031 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.7982, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.7982, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.7982, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.7983, allocations: 95.27 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7983, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002263/0.7985, allocations: 4 kB / 1.17 GB, free: 15.64 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 (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.0005256/0.7991, allocations: 0.6938 MB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.262e-05/0.7991, allocations: 7.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7992, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.7992, allocations: 12.09 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.7994, allocations: 3.984 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.8005, allocations: 1.163 MB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.8007, allocations: 0.6768 MB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.8008, allocations: 4.625 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.8009, allocations: 15.42 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8009, allocations: 0 / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.8218, allocations: 1.37 MB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/8.472, allocations: 9.188 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)