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.00111/0.00111, 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.001121/0.001122, allocations: 194.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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.406/2.406, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 75.88 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5806, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003388/0.584, allocations: 1.487 MB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.5855, allocations: 1.097 MB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.5856, allocations: 4 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.5858, allocations: 27.84 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.586, allocations: 35.89 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.5862, allocations: 59.72 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.5864, allocations: 151.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.5866, allocations: 57.09 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.5867, allocations: 79.75 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.5868, allocations: 63.64 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.5869, allocations: 12 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.587, allocations: 27.98 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.587, allocations: 47.89 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.5871, allocations: 83.5 kB / 1.021 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.5874, allocations: 193.8 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5874, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5874, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5874, allocations: 0 / 1.021 GB, free: 15.24 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.000669/0.5881, allocations: 0.4923 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5881, allocations: 8.031 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.5882, allocations: 42.75 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.5883, allocations: 16.75 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.5886, allocations: 263.8 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.5887, allocations: 115.4 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.5887, allocations: 4.375 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.589, allocations: 161.5 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5891, allocations: 3.938 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.5891, allocations: 11.98 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.5891, allocations: 4 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.5892, allocations: 47.91 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009912/0.5902, allocations: 456.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.5903, allocations: 38.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.5903, allocations: 20.86 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.5903, allocations: 7.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5904, allocations: 38.56 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.705e-06/0.5904, allocations: 3.984 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002456/0.5906, allocations: 105.6 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.5907, allocations: 59.34 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.5909, allocations: 208.8 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.5909, allocations: 37.58 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.591, allocations: 124.1 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.591, allocations: 31.55 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.5911, allocations: 25.72 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5912, allocations: 330.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.5912, allocations: 27.98 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/0.5913, allocations: 98.22 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.5915, allocations: 146.1 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5916, allocations: 0 / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002391/0.5918, allocations: 153.4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5918, allocations: 8 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5918, allocations: 4 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5918, allocations: 4 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.5919, allocations: 19.98 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.592, allocations: 11.88 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.592, allocations: 11.91 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.592, allocations: 8 kB / 1.024 GB, free: 11.81 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.0001161/0.5922, allocations: 146 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.5922, allocations: 19.81 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.5924, allocations: 110.9 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5924, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5924, allocations: 3.938 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.5925, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.5927, allocations: 233.5 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5927, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.5927, allocations: 12 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5928, allocations: 7.938 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.5928, allocations: 7.984 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5928, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5928, allocations: 7.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.593, allocations: 183.7 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.593, allocations: 92.86 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.5931, allocations: 0 / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.5933, allocations: 27.97 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.5933, allocations: 7.938 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.5934, allocations: 7.984 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001388/0.5935, allocations: 164.5 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5935, allocations: 0 / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002883/0.5938, allocations: 31.98 kB / 1.025 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.0005859/0.5944, allocations: 0.7574 MB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.5946, allocations: 76.52 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5946, allocations: 4.062 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.5946, allocations: 23.98 kB / 1.026 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.0003107/0.595, allocations: 29.14 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.5969, allocations: 1.905 MB / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.5972, allocations: 0.7353 MB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.5973, allocations: 56.88 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.5974, allocations: 43.42 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5974, allocations: 0 / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.6186, allocations: 4.172 MB / 1.032 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.888, allocations: 4 kB / 1.032 GB, free: 2.77 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)