Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.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 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001096/0.001096, allocations: 191 kB / 17.29 MB, free: 5.516 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.432/2.432, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 65.67 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3008, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002513/0.3033, allocations: 1.357 MB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.3035, allocations: 39.81 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.3035, allocations: 4 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.3037, allocations: 7.922 kB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3038, allocations: 19.92 kB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.3038, allocations: 0 / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.3039, allocations: 19.92 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.3039, allocations: 4 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.304, allocations: 11.92 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.304, allocations: 4 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3041, allocations: 3.938 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.101e-05/0.3041, allocations: 12 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.3041, allocations: 0 / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.3042, allocations: 11.92 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.923e-05/0.3042, allocations: 23.92 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3043, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3043, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3043, allocations: 4 kB / 1.028 GB, free: 0.5391 MB / 0.795 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.0002815/0.3046, allocations: 339.3 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3046, allocations: 8.031 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.3046, allocations: 8.938 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3048, allocations: 180.2 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.3048, allocations: 384 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.3048, allocations: 384 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.953e-05/0.3049, allocations: 30.27 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.3049, allocations: 192 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.3049, allocations: 11.92 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.3049, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.305, allocations: 4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.3051, allocations: 153.7 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.3051, allocations: 22.45 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.3052, allocations: 8.922 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3052, allocations: 0 / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3052, allocations: 42.55 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3052, allocations: 0 / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001099/0.3053, allocations: 37.64 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.3054, allocations: 55.34 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.3055, allocations: 113.8 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/0.3055, allocations: 25.7 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.3055, allocations: 84.14 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3055, allocations: 4.031 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.3056, allocations: 21.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.3057, allocations: 314.8 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.3057, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.3057, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.3057, allocations: 12.86 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3057, allocations: 0 / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.559e-05/0.3058, allocations: 37.69 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3058, allocations: 14.69 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3058, allocations: 7.938 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3058, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-05/0.3059, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3059, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.3059, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3059, allocations: 4 kB / 1.03 GB, free: 14.8 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 5.662e-05/0.306, allocations: 109.8 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.306, allocations: 7.891 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.3061, allocations: 49.17 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3061, allocations: 0 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3061, allocations: 0 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3061, allocations: 3.938 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.559e-05/0.3062, allocations: 153.7 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3062, allocations: 4 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.3062, allocations: 7.984 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3062, allocations: 3.938 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3062, allocations: 3.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3062, allocations: 3.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3062, allocations: 4.031 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.945e-05/0.3063, allocations: 57.14 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.3063, allocations: 85.09 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3063, allocations: 3.938 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.3064, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.3064, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.3064, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.3064, allocations: 95.61 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3064, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001835/0.3066, allocations: 0 / 1.03 GB, free: 14.12 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.0001602/0.3068, allocations: 111.3 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.054e-05/0.3069, allocations: 7.938 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3069, allocations: 4.062 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.3069, allocations: 11.98 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.307, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.3072, allocations: 117.7 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3074, allocations: 0.6768 MB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.3075, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.3075, allocations: 11.44 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3075, allocations: 64 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of Templates: time 0.002249/0.3098, allocations: 489.3 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)