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 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_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.001424/0.001424, allocations: 108 kB / 15.6 MB, free: 132 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.001069/0.001069, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.97 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003237/0.3393, allocations: 1.347 MB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001736/0.3395, allocations: 41.98 kB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.3395, allocations: 0 / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3397, allocations: 7.922 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.3399, allocations: 15.94 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.17e-06/0.3399, allocations: 3.938 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.34, allocations: 15.92 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.34, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.3401, allocations: 15.92 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.3401, allocations: 7.984 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3402, allocations: 0 / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.3402, allocations: 16 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.3403, allocations: 3.938 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.3403, allocations: 7.938 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.3404, allocations: 23.91 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3405, allocations: 4 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3405, allocations: 0 / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3405, allocations: 0 / 1.07 GB, free: 8.883 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.0003472/0.3408, allocations: 331.7 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3409, allocations: 12.03 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3409, allocations: 0.9375 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3411, allocations: 176.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3411, allocations: 384 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3411, allocations: 4.312 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.767e-05/0.3412, allocations: 38.25 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3412, allocations: 192 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3412, allocations: 3.938 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.3413, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.3413, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3415, allocations: 153.7 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.3415, allocations: 18.52 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.3415, allocations: 12.92 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3416, allocations: 0 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3416, allocations: 38.5 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3416, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.3418, allocations: 41.62 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3418, allocations: 51.41 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3419, allocations: 121.8 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.342, allocations: 25.83 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.342, allocations: 88.14 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.342, allocations: 7.844 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.3421, allocations: 13.72 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3422, allocations: 318.8 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.3422, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-06/0.3422, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.3423, allocations: 8.859 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3423, allocations: 8.062 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.891e-05/0.3424, allocations: 45.62 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3424, allocations: 5.719 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3424, allocations: 7.938 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3424, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.3425, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3425, allocations: 3.938 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.3425, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3425, allocations: 4 kB / 1.071 GB, free: 7.145 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 7.474e-05/0.3426, allocations: 111.1 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.3426, allocations: 3.906 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.3427, allocations: 49.16 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3427, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3428, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3428, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3429, allocations: 153.7 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3429, allocations: 4 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.3429, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3429, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3429, allocations: 11.95 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3429, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3429, allocations: 3.984 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.107e-05/0.343, allocations: 57.08 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.3431, allocations: 88.95 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3431, allocations: 11.92 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-06/0.3431, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.3431, allocations: 4.031 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.3431, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.3432, allocations: 91.28 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3432, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002053/0.3434, allocations: 3.984 kB / 1.072 GB, free: 6.457 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.0002177/0.3436, allocations: 116.1 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.754e-05/0.3437, allocations: 7.938 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3437, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.3437, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.3439, allocations: 11.92 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.3442, allocations: 109.7 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3445, allocations: 0.6769 MB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.737e-05/0.3446, allocations: 7.984 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3446, allocations: 15.44 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3446, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.002667/0.3473, allocations: 470.2 kB / 1.073 GB, free: 5 MB / 0.8262 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)