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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="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.001106/0.001106, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001068/0.001068, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.636/2.636, allocations: 436.5 MB / 0.7104 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004261, allocations: 16 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8593/0.8597, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001885/0.8616, allocations: 1.188 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.8631, allocations: 1.027 MB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.8632, allocations: 3.938 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.8634, allocations: 11.92 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.8636, allocations: 35.89 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.8638, allocations: 58.86 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.864, allocations: 87.8 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.8642, allocations: 53.28 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.8643, allocations: 67.75 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.8644, allocations: 35.78 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.8645, allocations: 8 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.8646, allocations: 12 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.8646, allocations: 47.81 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.8647, allocations: 41.64 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.8648, allocations: 137.7 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.8649, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8649, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8649, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 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.0006191/0.8655, allocations: 462.6 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.8655, allocations: 15.98 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.8656, allocations: 19.72 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.8659, allocations: 250.7 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.8661, allocations: 122.8 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.8661, allocations: 7.953 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.8665, allocations: 157.6 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8665, allocations: 7.984 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.8665, allocations: 4 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.8665, allocations: 8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.8666, allocations: 39.91 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.8677, allocations: 484.4 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.8678, allocations: 38.5 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.8678, allocations: 0 / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.8678, allocations: 46.5 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.8679, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002592/0.8681, allocations: 101.6 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.8682, allocations: 55.39 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.8684, allocations: 215.7 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.8684, allocations: 29.7 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.8685, allocations: 124 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.8685, allocations: 27.64 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.8685, allocations: 4 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8686, allocations: 330.8 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.8687, allocations: 31.97 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.8688, allocations: 90.3 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.8689, allocations: 51.91 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8689, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002268/0.8691, allocations: 157.1 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.8691, allocations: 8 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.8692, allocations: 4 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.8692, allocations: 4 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.8693, allocations: 19.98 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.8693, allocations: 8.625 kB / 1.026 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.8694, allocations: 11.91 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.8694, allocations: 8 kB / 1.026 GB, free: 11.11 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.8695, allocations: 149.7 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.8696, allocations: 15.81 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.8698, allocations: 119.1 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8698, allocations: 4 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8699, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8699, allocations: 11.92 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.8701, allocations: 241.4 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8701, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.8702, allocations: 12 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8702, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.8702, allocations: 3.984 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.8702, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8702, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.8704, allocations: 195.2 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.8705, allocations: 96.8 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.8705, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.8708, allocations: 31.97 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.8708, allocations: 4 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.8708, allocations: 11.97 kB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001385/0.871, allocations: 161.5 kB / 1.027 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.871, allocations: 0 / 1.027 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003161/0.8713, allocations: 32 kB / 1.027 GB, free: 9.941 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/0.8716, allocations: 110.1 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.8718, allocations: 75.83 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8718, allocations: 0 / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.8718, allocations: 27.92 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.8721, allocations: 21.19 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.8727, allocations: 322.9 kB / 1.028 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.8731, allocations: 0.7394 MB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.8733, allocations: 52.73 kB / 1.029 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.8734, allocations: 19.42 kB / 1.029 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of SimCode: time 6.31e-07/0.8734, allocations: 0 / 1.029 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of Templates: time 0.007572/0.881, allocations: 2.225 MB / 1.031 GB, free: 6.324 MB / 0.7794 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)