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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001244/0.001244, allocations: 196.2 kB / 16.14 MB, free: 6.691 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.302/2.302, allocations: 437 MB / 0.7099 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 63.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.5927, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002773/0.5956, allocations: 1.546 MB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.597, allocations: 1.09 MB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.597, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.5972, allocations: 11.92 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.5974, allocations: 31.86 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.5975, allocations: 59.91 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.5977, allocations: 143.5 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.5979, allocations: 65.12 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.816e-05/0.598, allocations: 71.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.5982, allocations: 63.62 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.5982, allocations: 8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.5983, allocations: 20 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.5984, allocations: 47.88 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.5984, allocations: 63.58 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.5987, allocations: 197.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5987, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5987, allocations: 3.938 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5987, allocations: 0 / 1.02 GB, free: 15.51 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.0006855/0.5994, allocations: 498.6 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5994, allocations: 8.031 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.5995, allocations: 42.73 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.5996, allocations: 16.75 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.5999, allocations: 263.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.6001, allocations: 115.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.6001, allocations: 8.375 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.6005, allocations: 159.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.6005, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.6005, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.6005, allocations: 12 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.6006, allocations: 43.91 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.6016, allocations: 464.4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.6017, allocations: 38.5 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.6017, allocations: 28.78 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.6018, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.6018, allocations: 34.56 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.6018, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002534/0.6021, allocations: 109.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.6021, allocations: 59.34 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.6023, allocations: 215.7 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.6023, allocations: 25.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.6024, allocations: 128.1 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.6025, allocations: 23.56 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.6025, allocations: 33.7 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6026, allocations: 330.8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.6027, allocations: 27.98 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.6028, allocations: 102.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.603, allocations: 142.1 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.603, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002462/0.6033, allocations: 153.2 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6033, allocations: 12.36 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6033, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6033, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.6034, allocations: 20 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6034, allocations: 15.86 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.6035, allocations: 7.906 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.6035, allocations: 8 kB / 1.023 GB, free: 12.09 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.0001169/0.6036, allocations: 145.8 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.6037, allocations: 15.81 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.6039, allocations: 119.1 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6039, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6039, allocations: 3.938 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.6039, allocations: 3.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.6042, allocations: 233.5 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.6042, allocations: 4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.6043, allocations: 11.98 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6043, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.6043, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6043, allocations: 4 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6043, allocations: 3.938 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6045, allocations: 191.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.6045, allocations: 96.8 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.6046, allocations: 3.984 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.6048, allocations: 15.98 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.6048, allocations: 7.922 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.6049, allocations: 19.98 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000129/0.605, allocations: 156.2 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.605, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002925/0.6053, allocations: 28 kB / 1.024 GB, free: 10.95 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.0005636/0.6059, allocations: 0.7414 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.606, allocations: 72.38 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.606, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.6061, allocations: 28.73 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.6064, allocations: 35.83 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.6082, allocations: 1.953 MB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.6085, allocations: 0.7316 MB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.6087, allocations: 48.84 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.6088, allocations: 47.42 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6088, allocations: 0 / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2854/0.8942, allocations: 4.023 MB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.8945, allocations: 206.4 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.926, allocations: 2.25 kB / 1.032 GB, free: 2.945 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)