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.00139/0.00139, 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.0016/0.0016, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.444/2.444, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 63.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5805/0.5819, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002881/0.5848, allocations: 1.363 MB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001712/0.585, allocations: 47.77 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.5851, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.5853, allocations: 7.922 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.5854, allocations: 15.92 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.5854, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.087e-05/0.5855, allocations: 15.94 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.5855, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.481e-05/0.5855, allocations: 11.92 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.5856, allocations: 11.98 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.5856, allocations: 4 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.5857, allocations: 8 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.5857, allocations: 11.94 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.5858, allocations: 7.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.5859, allocations: 35.89 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5859, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5859, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.5859, allocations: 0 / 1.019 GB, free: 0.9258 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.0003136/0.5862, allocations: 337.6 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5863, allocations: 8.031 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.5863, allocations: 38.73 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.5863, allocations: 4.938 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.5865, allocations: 176.3 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.5865, allocations: 384 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.5865, allocations: 384 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/0.5866, allocations: 34.2 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.5866, allocations: 3.938 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.5867, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.5867, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.5867, allocations: 11.98 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.5869, allocations: 153.7 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.5869, allocations: 18.58 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.5869, allocations: 16.84 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.587, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.587, allocations: 30.56 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.053e-06/0.587, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.5871, allocations: 49.58 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.5872, allocations: 51.41 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5873, allocations: 117.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.5873, allocations: 29.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.5873, allocations: 88.06 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.5874, allocations: 3.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.5874, allocations: 17.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5875, allocations: 315 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.5875, allocations: 3.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-06/0.5875, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.5876, allocations: 20.84 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.5876, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.007e-05/0.5876, allocations: 37.61 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5877, allocations: 7.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5877, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5877, allocations: 96 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.5878, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.5878, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.5878, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.5878, allocations: 0 / 1.02 GB, free: 15.14 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 7.71e-05/0.5879, allocations: 117.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.5879, allocations: 7.938 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.137e-05/0.588, allocations: 41.23 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.588, allocations: 3.984 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.588, allocations: 4.031 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.588, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.5881, allocations: 157.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5881, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.5882, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5882, allocations: 3.938 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.5882, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5882, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5882, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.933e-05/0.5883, allocations: 68.97 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.5883, allocations: 81.11 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.5883, allocations: 7.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-06/0.5884, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.5884, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.5884, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.5884, allocations: 91.27 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5885, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001862/0.5886, allocations: 7.938 kB / 1.021 GB, free: 14.45 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.0004467/0.5891, allocations: 0.6161 MB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.5892, allocations: 16.02 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5892, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-06/0.5892, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.5894, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5904, allocations: 1.106 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.5907, allocations: 0.6768 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.933e-05/0.5908, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.5909, allocations: 11.47 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.5909, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.6083, allocations: 1.382 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.749, allocations: 6.188 kB / 1.025 GB, free: 10.57 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)