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.001092/0.001092, allocations: 108 kB / 15.6 MB, free: 132 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.001146/0.001146, allocations: 198 kB / 16.54 MB, free: 6.672 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.497/2.497, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.5172, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002579/0.5198, allocations: 1.341 MB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001384/0.52, allocations: 39.81 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.52, allocations: 7.938 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.5202, allocations: 15.92 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.5203, allocations: 7.922 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.5203, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.501e-05/0.5203, allocations: 11.98 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.5204, allocations: 7.938 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.5204, allocations: 3.938 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.5205, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.5205, allocations: 3.938 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-05/0.5205, allocations: 15.98 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.5206, allocations: 11.94 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.5206, allocations: 7.922 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.245e-05/0.5207, allocations: 23.92 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.5207, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5207, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.5207, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 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.0003087/0.521, allocations: 339.4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5211, allocations: 8.031 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.5211, allocations: 30.75 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.5211, allocations: 4.938 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.5213, allocations: 180.3 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.5213, allocations: 384 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-06/0.5213, allocations: 384 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.575e-05/0.5214, allocations: 42.19 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5214, allocations: 3.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.5214, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5214, allocations: 4 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.5215, allocations: 4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.5217, allocations: 240.9 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.5218, allocations: 34.48 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.5218, allocations: 4.859 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.5218, allocations: 4.062 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.5218, allocations: 30.56 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.041e-06/0.5218, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.522, allocations: 41.69 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.522, allocations: 55.34 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.5221, allocations: 113.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5221, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.5222, allocations: 91.98 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.5222, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.5222, allocations: 9.719 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.5223, allocations: 318.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.5223, allocations: 8.125 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.5223, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.015e-05/0.5224, allocations: 8.859 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5224, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.946e-05/0.5224, allocations: 41.67 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5224, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5225, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5225, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.5225, allocations: 15.97 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.5225, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.5225, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.5226, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 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 6.323e-05/0.5226, allocations: 119.3 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.5227, allocations: 3.906 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.5227, allocations: 41.22 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5227, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5228, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5228, allocations: 4.031 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.5229, allocations: 157.6 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5229, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.5229, allocations: 3.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.523, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.523, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.523, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.523, allocations: 3.938 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.424e-05/0.5231, allocations: 135.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.5231, allocations: 89 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.5231, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.5232, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.5232, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.5232, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.5232, allocations: 91.27 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5232, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002215/0.5235, allocations: 4 kB / 1.021 GB, free: 14.33 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 (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.0004042/0.5239, allocations: 0.6835 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.467e-05/0.524, allocations: 8.031 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.524, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.524, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.5242, allocations: 5.703 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.5251, allocations: 1.183 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.5254, allocations: 0.6806 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.669e-05/0.5254, allocations: 7.938 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.5255, allocations: 11.47 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5255, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.5422, allocations: 1.345 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.641, allocations: 4.688 kB / 1.025 GB, free: 10.32 MB / 0.7794 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)