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.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.517/2.517, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.12 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5436, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002726/0.5464, allocations: 1.495 MB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.5478, allocations: 1.105 MB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.5479, allocations: 4 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.548, allocations: 15.86 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.5482, allocations: 39.78 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.5484, allocations: 65.03 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.5486, allocations: 139.6 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.5487, allocations: 73 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.5488, allocations: 79.77 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.549, allocations: 59.69 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.5491, allocations: 12 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.5492, allocations: 28 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.125e-05/0.5492, allocations: 51.88 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.5493, allocations: 75.52 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.5496, allocations: 193.7 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5496, allocations: 3.938 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5496, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.5496, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 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.0006448/0.5503, allocations: 0.4908 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5503, allocations: 16.03 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.5504, allocations: 38.73 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.5504, allocations: 20.75 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.5507, allocations: 247.9 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.5509, allocations: 127.3 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.5509, allocations: 4.375 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.5512, allocations: 157.5 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.5512, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5512, allocations: 8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.5513, allocations: 8 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.5514, allocations: 39.97 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.5524, allocations: 464.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.761e-05/0.5525, allocations: 34.56 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.5525, allocations: 24.84 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.5525, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.5526, allocations: 38.5 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.5526, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.00027/0.5528, allocations: 113.6 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5529, allocations: 55.34 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.5531, allocations: 208.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.5531, allocations: 29.64 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.5532, allocations: 128.1 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.5532, allocations: 27.56 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.5533, allocations: 33.64 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5534, allocations: 330.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.5535, allocations: 19.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.5536, allocations: 106.2 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.5537, allocations: 138.2 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5537, allocations: 4 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002413/0.554, allocations: 153.3 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.554, allocations: 7.984 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.554, allocations: 4 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.554, allocations: 7.938 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.5541, allocations: 20 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5542, allocations: 11.92 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.5542, allocations: 7.906 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5543, allocations: 8 kB / 1.024 GB, free: 11.79 MB / 0.7794 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.0001223/0.5544, allocations: 153.9 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.5544, allocations: 11.81 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.5547, allocations: 115.5 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5547, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5547, allocations: 3.938 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5547, allocations: 7.922 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.5549, allocations: 229.6 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.555, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.555, allocations: 19.98 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.555, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.555, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.555, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.555, allocations: 3.938 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.5552, allocations: 191.3 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-05/0.5553, allocations: 100.8 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.5553, allocations: 3.984 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.5556, allocations: 19.98 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.5556, allocations: 15.92 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.5556, allocations: 11.98 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001293/0.5558, allocations: 160.5 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5558, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002958/0.5561, allocations: 24 kB / 1.025 GB, free: 10.63 MB / 0.7794 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.0005105/0.5566, allocations: 0.7395 MB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.5568, allocations: 84.52 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5568, allocations: 0 / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.5568, allocations: 27.92 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.5571, allocations: 29.5 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.5589, allocations: 1.909 MB / 1.028 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5592, allocations: 0.7314 MB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.5593, allocations: 48.78 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.5594, allocations: 51.42 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5594, allocations: 0 / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.5803, allocations: 4.173 MB / 1.032 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.725, allocations: 13.72 kB / 1.032 GB, free: 2.73 MB / 0.7794 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)