Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001052/0.001052, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001093/0.001093, allocations: 196.2 kB / 16.25 MB, free: 6.621 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 66.22 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3428, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002719/0.3456, allocations: 1.41 MB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.3457, allocations: 43.83 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.3458, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.346, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3461, allocations: 19.91 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.3461, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.3462, allocations: 11.94 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.3462, allocations: 4 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.3463, allocations: 15.92 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.3463, allocations: 4 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3463, allocations: 3.938 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.3464, allocations: 12 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.3464, allocations: 4 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.3465, allocations: 11.91 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.3466, allocations: 27.86 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3466, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3466, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.3466, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 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.000349/0.347, allocations: 335.7 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.347, allocations: 8.031 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.347, allocations: 4.938 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3472, allocations: 180.2 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3472, allocations: 4.375 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3473, allocations: 4.375 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.359e-05/0.3473, allocations: 26.27 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3474, allocations: 192 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3474, allocations: 7.922 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.3474, allocations: 8 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.3474, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.3476, allocations: 153.7 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.41e-05/0.3477, allocations: 26.48 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.3477, allocations: 4.859 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3477, allocations: 3.984 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3477, allocations: 34.56 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3478, allocations: 8.062 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.3479, allocations: 33.64 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3479, allocations: 55.34 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3481, allocations: 117.8 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3481, allocations: 25.7 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.3481, allocations: 80.14 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.3482, allocations: 7.891 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.3482, allocations: 17.84 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3484, allocations: 314.8 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.3484, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.3484, allocations: 4 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.3484, allocations: 12.86 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3484, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.839e-05/0.3485, allocations: 41.62 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3485, allocations: 5.562 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3485, allocations: 8.031 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3485, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.3486, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3486, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.3486, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3486, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 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 8.74e-05/0.3487, allocations: 110.5 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.3487, allocations: 11.84 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.737e-05/0.3489, allocations: 41.17 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3489, allocations: 8.031 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3489, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3489, allocations: 3.984 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.349, allocations: 153.7 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.349, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.349, allocations: 3.938 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.349, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.349, allocations: 7.938 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3491, allocations: 3.938 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3491, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.863e-05/0.3491, allocations: 65.12 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3492, allocations: 81.02 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3492, allocations: 7.938 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.3492, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.3493, allocations: 4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.3493, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.3493, allocations: 91.27 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3493, allocations: 4.031 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001912/0.3495, allocations: 4 kB / 1.071 GB, free: 6.758 MB / 0.8262 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.0002298/0.3498, allocations: 105.5 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.3499, allocations: 11.92 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3499, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.3499, allocations: 8.062 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.35, allocations: 4 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.3504, allocations: 121.4 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3507, allocations: 0.6807 MB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.408e-05/0.3508, allocations: 3.984 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.3509, allocations: 11.44 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.3509, allocations: 64 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of Templates: time 0.00288/0.3538, allocations: 486.4 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)