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.001621/0.001621, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001799/0.001799, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.516/2.516, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.88 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6647, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003109/0.6679, allocations: 1.548 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.6695, allocations: 1.086 MB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.6696, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.6699, allocations: 15.91 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.6701, allocations: 31.86 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.6704, allocations: 59.3 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.6706, allocations: 155.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.6708, allocations: 61.09 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.6709, allocations: 79.75 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.6712, allocations: 59.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.6712, allocations: 12 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.6713, allocations: 31.92 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.6714, allocations: 47.89 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.6715, allocations: 83.5 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.6718, allocations: 185.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.6718, allocations: 8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6718, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.6718, allocations: 0 / 1.02 GB, free: 15.23 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.000846/0.6727, allocations: 0.4884 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6727, allocations: 12.03 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.308e-05/0.6728, allocations: 38.75 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.6729, allocations: 16.75 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.6732, allocations: 259.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.6734, allocations: 123.4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.6734, allocations: 12.36 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.6738, allocations: 161.5 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6738, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.6738, allocations: 3.938 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.6739, allocations: 12 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.674, allocations: 39.97 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.6751, allocations: 460.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.6752, allocations: 42.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.6752, allocations: 24.84 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.6753, allocations: 160 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.6753, allocations: 38.56 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.6753, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002929/0.6756, allocations: 105.5 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.6756, allocations: 55.34 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.6759, allocations: 212.8 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.6759, allocations: 29.7 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.676, allocations: 124.1 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.676, allocations: 31.48 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.6761, allocations: 37.64 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6762, allocations: 326.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.6763, allocations: 23.98 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.6764, allocations: 102.3 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.6766, allocations: 142.1 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6766, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000245/0.6768, allocations: 153.2 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6768, allocations: 8 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.6769, allocations: 384 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6769, allocations: 8 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.677, allocations: 23.98 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.677, allocations: 11.88 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.6771, allocations: 7.906 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6771, allocations: 4 kB / 1.023 GB, free: 11.82 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.0001259/0.6772, allocations: 149.8 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.6773, allocations: 15.81 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.6775, allocations: 127.1 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6775, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6775, allocations: 3.938 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6775, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.6778, allocations: 233.6 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6778, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.6779, allocations: 15.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6779, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.6779, allocations: 4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6779, allocations: 3.938 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6779, allocations: 3.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.6781, allocations: 191.3 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.6782, allocations: 92.86 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.6782, allocations: 4 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.6785, allocations: 15.97 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.6785, allocations: 7.938 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.6785, allocations: 19.97 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001424/0.6787, allocations: 160.5 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6787, allocations: 4 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000304/0.679, allocations: 24 kB / 1.024 GB, free: 10.67 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.0005883/0.6796, allocations: 0.7505 MB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.6798, allocations: 75.83 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6798, allocations: 0 / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.6798, allocations: 31.98 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.6802, allocations: 26.83 kB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.6822, allocations: 1.952 MB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.6825, allocations: 0.7314 MB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.6826, allocations: 44.84 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.6827, allocations: 43.42 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6827, allocations: 4 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.7186, allocations: 4.099 MB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.7188, allocations: 208.5 kB / 1.032 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.603, allocations: 0 / 1.032 GB, free: 2.609 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)