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.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.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.001069/0.001069, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001106/0.001106, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.412/2.412, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5942, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002686/0.5969, allocations: 1.433 MB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/0.5971, allocations: 44.34 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.5972, allocations: 0 / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.5973, allocations: 8 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.5975, allocations: 11.94 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.885e-06/0.5975, allocations: 3.938 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.5975, allocations: 23.91 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.5976, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.5976, allocations: 11.94 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.5977, allocations: 11.92 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.5977, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.724e-05/0.5977, allocations: 12 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.5978, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.5978, allocations: 7.938 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.5979, allocations: 35.89 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5979, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5979, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5979, allocations: 0 / 1.018 GB, free: 1.164 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.0003254/0.5983, allocations: 341.7 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5983, allocations: 12.03 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.5983, allocations: 30.75 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.5984, allocations: 0.9375 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.5985, allocations: 172.3 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-06/0.5986, allocations: 4.312 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.5986, allocations: 384 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.5987, allocations: 42.23 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5987, allocations: 3.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.5987, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.5987, allocations: 15.92 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.5987, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.5989, allocations: 153.7 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.5989, allocations: 22.55 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.5989, allocations: 4.859 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.599, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.599, allocations: 42.62 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.599, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.5991, allocations: 37.62 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5992, allocations: 55.41 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.5993, allocations: 113.8 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.5993, allocations: 29.64 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.5993, allocations: 84.14 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.5994, allocations: 11.84 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.5994, allocations: 13.84 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.5995, allocations: 318.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.5995, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.5995, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.5996, allocations: 8.859 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5996, allocations: 3.938 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.93e-05/0.5997, allocations: 41.69 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5997, allocations: 10.44 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5997, allocations: 4.094 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.5997, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.5998, allocations: 7.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5998, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.5998, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.5998, allocations: 0 / 1.02 GB, free: 15.38 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.491e-05/0.5999, allocations: 113.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.5999, allocations: 3.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.6, allocations: 49.22 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.6, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.6001, allocations: 161.6 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6001, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.6001, allocations: 3.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.6001, allocations: 3.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.6002, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6002, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6002, allocations: 3.938 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.804e-05/0.6003, allocations: 69.16 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.6003, allocations: 77.11 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.6003, allocations: 3.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.6003, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.6003, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.6003, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.6004, allocations: 99.27 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6004, allocations: 4.031 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001852/0.6006, allocations: 4 kB / 1.02 GB, free: 14.68 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.0003976/0.601, allocations: 0.626 MB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.486e-05/0.6011, allocations: 7.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6011, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.6011, allocations: 7.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.6012, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.6021, allocations: 1.108 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.6023, allocations: 0.681 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.397e-05/0.6024, allocations: 7.984 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.6024, allocations: 15.38 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6024, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7994/1.402, allocations: 1.254 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.402, allocations: 214.2 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/4.382, allocations: 0 / 1.024 GB, free: 10.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)