Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001022/0.001023, allocations: 91.61 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.008538/0.008538, allocations: 170.5 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.516/1.516, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.011/3.011, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 9.875 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002379/0.332, allocations: 1.204 MB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3337, allocations: 1.077 MB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.3338, allocations: 0 / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.3341, allocations: 7.938 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.3343, allocations: 39.83 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3347, allocations: 55.06 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.335, allocations: 139.6 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3352, allocations: 65.02 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3354, allocations: 67.77 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.3357, allocations: 47.72 kB / 1.077 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.3357, allocations: 4 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3359, allocations: 16 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.336, allocations: 43.88 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3362, allocations: 97.16 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.3366, allocations: 187.6 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3366, allocations: 4 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3366, allocations: 0 / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3366, allocations: 0 / 1.077 GB, free: 4.504 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009424/0.3376, allocations: 454.8 kB / 1.078 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.3376, allocations: 12.03 kB / 1.078 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3378, allocations: 20.69 kB / 1.078 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.3382, allocations: 261.8 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.3385, allocations: 119.4 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3385, allocations: 8.375 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.339, allocations: 169.6 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.339, allocations: 4 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.339, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.3391, allocations: 15.98 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3392, allocations: 43.91 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3405, allocations: 476.4 kB / 1.079 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/0.3406, allocations: 38.55 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.3407, allocations: 20.86 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.3407, allocations: 11.98 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3408, allocations: 30.56 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.3408, allocations: 0 / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003477/0.3411, allocations: 109.6 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3412, allocations: 55.41 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3415, allocations: 223.8 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.3415, allocations: 33.64 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.3416, allocations: 123.9 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3417, allocations: 19.64 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3417, allocations: 17.72 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3419, allocations: 330.8 kB / 1.08 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.517e-05/0.3419, allocations: 23.97 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3421, allocations: 106.2 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3423, allocations: 146.1 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3423, allocations: 0 / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002806/0.3426, allocations: 153.2 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3426, allocations: 5.25 kB / 1.08 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3426, allocations: 4.375 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3426, allocations: 8 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3428, allocations: 27.92 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3428, allocations: 3.938 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.3429, allocations: 15.84 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3429, allocations: 8 kB / 1.08 GB, free: 1.148 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.0001363/0.343, allocations: 141.8 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.3431, allocations: 15.81 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.3433, allocations: 114.9 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3433, allocations: 7.984 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.3433, allocations: 3.938 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3433, allocations: 0 / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.3436, allocations: 229.6 kB / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3436, allocations: 7.938 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.3437, allocations: 15.98 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.3437, allocations: 0 / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.3437, allocations: 3.938 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3437, allocations: 4.391 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3437, allocations: 7.938 kB / 1.081 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3439, allocations: 187.3 kB / 1.081 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.344, allocations: 92.91 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.344, allocations: 0 / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.3443, allocations: 35.97 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3443, allocations: 7.938 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.3444, allocations: 7.984 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001695/0.3445, allocations: 165.5 kB / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3445, allocations: 0 / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003358/0.3449, allocations: 31.95 kB / 1.081 GB, free: 15.98 MB / 0.8419 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.000293/0.3452, allocations: 128.6 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.3454, allocations: 67.84 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3454, allocations: 0 / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.3454, allocations: 23.98 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3457, allocations: 24.52 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.3463, allocations: 338.4 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3466, allocations: 0.7355 MB / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.3468, allocations: 56.92 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.3468, allocations: 19.44 kB / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3468, allocations: 3.938 kB / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.005603/0.3524, allocations: 2.302 MB / 1.085 GB, free: 12.27 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)