Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_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.001477/0.001477, 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.001673/0.001673, allocations: 195.5 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.404/1.404, 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 11.0.0-master/package.mo): time 2.641/2.641, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 58.33 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3029, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002864/0.3058, allocations: 1.432 MB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.306, allocations: 35.83 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.306, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3063, allocations: 11.98 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3064, allocations: 11.92 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.727e-06/0.3064, allocations: 4 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.3065, allocations: 15.94 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.3065, allocations: 3.984 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.3066, allocations: 11.94 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.3066, allocations: 7.938 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3067, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.3067, allocations: 15.98 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.3068, allocations: 7.984 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.3068, allocations: 3.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.3069, allocations: 31.89 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3069, allocations: 4 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3069, allocations: 0 / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3069, allocations: 3.938 kB / 1.054 GB, free: 6.605 MB / 0.8106 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.0003359/0.3073, allocations: 335.7 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3073, allocations: 11.97 kB / 1.054 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.3074, allocations: 38.69 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.3074, allocations: 0.9375 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3076, allocations: 176.3 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.3076, allocations: 4.312 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.3076, allocations: 384 / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.3077, allocations: 34.27 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3077, allocations: 3.938 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.3077, allocations: 0 / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.3078, allocations: 4 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.3078, allocations: 3.984 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.308, allocations: 153.7 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.308, allocations: 30.5 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.3081, allocations: 8.859 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3081, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3081, allocations: 30.62 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3081, allocations: 4 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.3083, allocations: 41.58 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3083, allocations: 59.39 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3084, allocations: 113.8 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3085, allocations: 29.83 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.3085, allocations: 80.14 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3085, allocations: 3.906 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3086, allocations: 17.72 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.3087, allocations: 310.8 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.3087, allocations: 4 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.3087, allocations: 3.984 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.3087, allocations: 16.92 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3088, allocations: 0 / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.241e-05/0.3088, allocations: 37.64 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3088, allocations: 7.938 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3089, allocations: 0 / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3089, allocations: 0 / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.3089, allocations: 7.984 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3089, allocations: 320 / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.309, allocations: 0 / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.309, allocations: 0 / 1.055 GB, free: 4.828 MB / 0.8106 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.662e-05/0.3091, allocations: 117.9 kB / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.3091, allocations: 7.844 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.049e-05/0.3092, allocations: 49.16 kB / 1.055 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3092, allocations: 3.938 kB / 1.055 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3092, allocations: 0 / 1.055 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3092, allocations: 3.938 kB / 1.055 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.3093, allocations: 149.7 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3093, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.3093, allocations: 4 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3093, allocations: 7.969 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3093, allocations: 8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3094, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3094, allocations: 3.984 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.096e-05/0.3094, allocations: 53.14 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.3095, allocations: 85.11 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3095, allocations: 3.938 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.3095, allocations: 4.016 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.3095, allocations: 4 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.3095, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.3096, allocations: 95.27 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3096, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002255/0.3098, allocations: 4 kB / 1.056 GB, free: 4.133 MB / 0.8106 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.0004268/0.3103, allocations: 0.6229 MB / 1.056 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.687e-05/0.3103, allocations: 8 kB / 1.056 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3103, allocations: 0 / 1.056 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.3104, allocations: 4 kB / 1.056 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3105, allocations: 3.938 kB / 1.056 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.3115, allocations: 1.123 MB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3118, allocations: 0.677 MB / 1.058 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.657e-05/0.3119, allocations: 4 kB / 1.058 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3119, allocations: 11.42 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3119, allocations: 0 / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1943/0.5063, allocations: 1.263 MB / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.5065, allocations: 217.4 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.26, allocations: 0 / 1.06 GB, free: 144 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)