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.001097/0.001097, allocations: 108 kB / 15.61 MB, free: 152 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.00118/0.00118, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.22 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3327, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003247/0.336, allocations: 1.364 MB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002144/0.3362, allocations: 34.06 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.3363, allocations: 3.938 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3366, allocations: 7.922 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.3368, allocations: 11.92 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.962e-06/0.3368, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.3369, allocations: 12 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.3369, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.337, allocations: 15.88 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.3371, allocations: 11.98 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3371, allocations: 7.922 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.3372, allocations: 12 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.3372, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.3373, allocations: 11.94 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3374, allocations: 19.91 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3374, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3374, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3375, allocations: 0 / 1.07 GB, free: 8.898 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.0004773/0.3379, allocations: 339.7 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.338, allocations: 16.02 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.338, allocations: 0.9375 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.3383, allocations: 168.3 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3383, allocations: 4.375 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.3383, allocations: 384 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3384, allocations: 38.19 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3385, allocations: 192 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3385, allocations: 3.938 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.3385, allocations: 7.938 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.3386, allocations: 4 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.3388, allocations: 157.7 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.3389, allocations: 22.52 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.3389, allocations: 4.859 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3389, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.339, allocations: 30.56 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.339, allocations: 4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001908/0.3392, allocations: 49.62 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.3392, allocations: 51.41 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3394, allocations: 109.8 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3394, allocations: 29.7 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.3395, allocations: 84.14 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.3395, allocations: 3.906 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.3395, allocations: 17.7 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3397, allocations: 319 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.3397, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.3397, allocations: 4 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.3398, allocations: 12.8 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3398, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.622e-05/0.3399, allocations: 33.69 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3399, allocations: 10.03 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3399, allocations: 3.938 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3399, allocations: 4.094 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.34, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.34, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.3401, allocations: 8 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.3401, allocations: 0 / 1.071 GB, free: 7.164 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 9.333e-05/0.3402, allocations: 106.4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.3402, allocations: 7.906 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.3403, allocations: 45.41 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3403, allocations: 4.031 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3403, allocations: 4 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3404, allocations: 0 / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3405, allocations: 153.7 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3405, allocations: 0 / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3405, allocations: 3.984 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3405, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3406, allocations: 3.938 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3406, allocations: 11.88 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3406, allocations: 3.984 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.632e-05/0.3407, allocations: 65.08 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.3407, allocations: 85 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3408, allocations: 3.938 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.3408, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.3408, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3408, allocations: 8 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.3409, allocations: 95.27 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3409, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002488/0.3411, allocations: 8.031 kB / 1.072 GB, free: 6.461 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.0002238/0.3414, allocations: 110.6 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.3415, allocations: 8 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3415, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.3415, allocations: 8.047 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.3417, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.342, allocations: 113.6 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3423, allocations: 0.6807 MB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.3423, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.3424, allocations: 11.44 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3424, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of Templates: time 0.002844/0.3452, allocations: 477.5 kB / 1.073 GB, free: 5.012 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)