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: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008152, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008918/0.0008918, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.975/2.975, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004564, allocations: 10.09 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3828, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001764/0.3846, allocations: 1.089 MB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.3848, allocations: 31.86 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.3848, allocations: 0 / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.385, allocations: 15.97 kB / 1.059 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3851, allocations: 7.938 kB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.3851, allocations: 4 kB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.3852, allocations: 15.94 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.3853, allocations: 3.984 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.3853, allocations: 7.938 kB / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.3854, allocations: 8 kB / 1.059 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3854, allocations: 3.984 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.371e-05/0.3854, allocations: 11.94 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.3855, allocations: 7.922 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.3855, allocations: 25.7 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.657e-05/0.3856, allocations: 23.97 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3856, allocations: 4 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3856, allocations: 0 / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3856, allocations: 0 / 1.059 GB, free: 4.07 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.0003502/0.386, allocations: 335.5 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.386, allocations: 8.031 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.3861, allocations: 7.906 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3862, allocations: 175 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3863, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3863, allocations: 3.953 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.3864, allocations: 37.64 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.3864, allocations: 0 / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3864, allocations: 0 / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.3864, allocations: 0 / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.3864, allocations: 4 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.3866, allocations: 153.7 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.3867, allocations: 18.56 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.3867, allocations: 8.922 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3867, allocations: 11.95 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3867, allocations: 34.5 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3868, allocations: 0 / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.3869, allocations: 33.7 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3869, allocations: 51.41 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3871, allocations: 117.8 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3871, allocations: 29.69 kB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.3872, allocations: 92.27 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3872, allocations: 0 / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-06/0.3872, allocations: 0 / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3873, allocations: 314.8 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.3874, allocations: 4 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.3874, allocations: 3.938 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.3874, allocations: 7.984 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3874, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.587e-05/0.3875, allocations: 37.7 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3875, allocations: 13.52 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3875, allocations: 0 / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.3875, allocations: 0 / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.3876, allocations: 0 / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3876, allocations: 4 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.3876, allocations: 3.938 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.3876, allocations: 0 / 1.061 GB, free: 2.375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.3877, allocations: 113.8 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.3877, allocations: 11.94 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.3878, allocations: 53.11 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3878, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3878, allocations: 3.984 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3878, allocations: 0 / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.388, allocations: 153.7 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.388, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.388, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.388, allocations: 4 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.388, allocations: 0 / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.388, allocations: 7.984 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.388, allocations: 4 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.34e-05/0.3881, allocations: 65.06 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.3881, allocations: 81.02 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3882, allocations: 0 / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.3882, allocations: 4 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.3882, allocations: 3.953 kB / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3882, allocations: 3.984 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.3883, allocations: 95.61 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3883, allocations: 0 / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002057/0.3885, allocations: 12 kB / 1.061 GB, free: 1.668 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002377/0.3887, allocations: 110.1 kB / 1.061 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.3888, allocations: 8 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3888, allocations: 0 / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.3888, allocations: 7.938 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.389, allocations: 7.938 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.3892, allocations: 120.6 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3895, allocations: 0.677 MB / 1.062 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.329e-05/0.3896, allocations: 8.125 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.3896, allocations: 11.42 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3896, allocations: 0 / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of Templates: time 0.002642/0.3922, allocations: 472.3 kB / 1.063 GB, free: 208 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (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 & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)