Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001607/0.001607, 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.001919/0.001919, allocations: 193.3 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.496/2.496, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5254, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002423/0.5278, allocations: 1.351 MB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.528, allocations: 51.75 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.528, allocations: 3.938 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.5282, allocations: 11.92 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.5283, allocations: 19.92 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.5283, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.707e-05/0.5283, allocations: 15.98 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.5284, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.5284, allocations: 11.88 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.5285, allocations: 11.98 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.5285, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.834e-05/0.5285, allocations: 8 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.5286, allocations: 11.94 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.5286, allocations: 11.92 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.467e-05/0.5287, allocations: 35.91 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5287, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5287, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.5287, allocations: 0 / 1.019 GB, free: 0.9531 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.0002742/0.529, allocations: 337.6 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.529, allocations: 11.98 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.529, allocations: 30.75 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.5291, allocations: 4.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.5292, allocations: 180.3 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.5292, allocations: 384 / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.5292, allocations: 4.375 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.011e-05/0.5293, allocations: 38.19 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5293, allocations: 3.938 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.5293, allocations: 0 / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.5294, allocations: 0 / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.5294, allocations: 4 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.5295, allocations: 153.7 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.521e-05/0.5296, allocations: 22.58 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.5296, allocations: 12.92 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.5296, allocations: 0 / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.5296, allocations: 34.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.5296, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.5298, allocations: 49.56 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.5298, allocations: 51.41 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.5299, allocations: 118 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5299, allocations: 33.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.5299, allocations: 80.14 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.53, allocations: 7.875 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.53, allocations: 17.72 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.5301, allocations: 314.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.5301, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.5301, allocations: 7.938 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.5301, allocations: 16.92 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.5302, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.181e-05/0.5302, allocations: 45.58 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5302, allocations: 7.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.5303, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.5303, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.5303, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.5303, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.5303, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.5303, allocations: 0 / 1.02 GB, free: 15.16 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 5.581e-05/0.5304, allocations: 117.9 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.5304, allocations: 3.938 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/0.5305, allocations: 45.16 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5305, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5305, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.5305, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.652e-05/0.5306, allocations: 157.7 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5306, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.5306, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.5307, allocations: 7.969 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.5307, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5307, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5307, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.5307, allocations: 68.97 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.5308, allocations: 81.11 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.5308, allocations: 3.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.5308, allocations: 11.97 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-06/0.5308, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.5308, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.5309, allocations: 91.27 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5309, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001809/0.5311, allocations: 4 kB / 1.021 GB, free: 14.47 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.0003539/0.5314, allocations: 0.6218 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.149e-05/0.5315, allocations: 11.94 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5315, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.5315, allocations: 7.984 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.5317, allocations: 160 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.5324, allocations: 1.107 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5326, allocations: 0.6768 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.266e-05/0.5327, allocations: 7.984 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.5327, allocations: 11.44 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5327, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.5487, allocations: 1.364 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.648, allocations: 5.828 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)