Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008041/0.0008041, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005572/0.005572, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 13.53 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001956/0.3349, allocations: 1.213 MB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3366, allocations: 1.081 MB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.3366, allocations: 4 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.3368, allocations: 15.91 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.337, allocations: 31.86 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3372, allocations: 47.92 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3374, allocations: 151.5 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.3376, allocations: 57.08 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3377, allocations: 71.77 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3379, allocations: 51.7 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.3379, allocations: 4 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.338, allocations: 27.92 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.3381, allocations: 35.89 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.3382, allocations: 93.22 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.3385, allocations: 187.6 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3385, allocations: 4 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3385, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.3385, allocations: 0 / 1.062 GB, free: 2.387 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006479/0.3391, allocations: 458.8 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3392, allocations: 8.031 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.3393, allocations: 20.73 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.3396, allocations: 252 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.3397, allocations: 127.3 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.3398, allocations: 8.375 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.3401, allocations: 167.4 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.3401, allocations: 0 / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3402, allocations: 4 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.3402, allocations: 12 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.3403, allocations: 47.84 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.3414, allocations: 480.4 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.3414, allocations: 38.56 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.3415, allocations: 20.84 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3415, allocations: 11.94 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3416, allocations: 30.56 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3416, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002647/0.3418, allocations: 101.5 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.3419, allocations: 59.39 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3421, allocations: 219.8 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3421, allocations: 29.7 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3423, allocations: 124.2 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.3423, allocations: 31.48 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3423, allocations: 17.72 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3425, allocations: 330.8 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.3425, allocations: 23.98 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3426, allocations: 106.2 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3428, allocations: 138.2 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3428, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002479/0.3431, allocations: 153.2 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3431, allocations: 11.94 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3431, allocations: 0 / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3431, allocations: 4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3433, allocations: 24.36 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3433, allocations: 11.94 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.692e-05/0.3433, allocations: 7.938 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3434, allocations: 12.25 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001278/0.3435, allocations: 143.3 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.3435, allocations: 15.81 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3438, allocations: 134.9 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3438, allocations: 0 / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3438, allocations: 7.938 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3438, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.3441, allocations: 233.5 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3441, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.3441, allocations: 12 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3441, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3442, allocations: 7.984 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3442, allocations: 3.938 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3442, allocations: 3.938 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.3444, allocations: 191.3 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.3445, allocations: 96.91 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3445, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.3448, allocations: 27.97 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3448, allocations: 7.938 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.3448, allocations: 15.97 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001788/0.345, allocations: 161.5 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.345, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003086/0.3453, allocations: 28 kB / 1.066 GB, free: 13.88 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 (8): * Single equations (assignments): 8 * 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.0002581/0.3456, allocations: 120 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.3458, allocations: 75.83 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3458, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.3458, allocations: 27.98 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3461, allocations: 19.94 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.3467, allocations: 339 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.347, allocations: 0.7355 MB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.3471, allocations: 48.8 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.3471, allocations: 23.42 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of SimCode: time 1.523e-06/0.3471, allocations: 3.938 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of Templates: time 0.005036/0.3522, allocations: 2.297 MB / 1.069 GB, free: 10.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)