Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.00107/0.00107, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001292/0.001291, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.84/2.84, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.821, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001981/0.8231, allocations: 1.184 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.8246, allocations: 1.047 MB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.8247, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.8249, allocations: 15.92 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.8251, allocations: 31.84 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.8253, allocations: 47.94 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.8255, allocations: 127.5 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.8257, allocations: 49.28 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.8258, allocations: 75.75 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.826, allocations: 49.81 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.826, allocations: 4 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.8261, allocations: 20 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.8262, allocations: 39.81 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.8263, allocations: 45.64 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.8265, allocations: 137.7 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8265, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8265, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8265, allocations: 0 / 1.025 GB, free: 13.19 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.0006762/0.8272, allocations: 462.6 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8273, allocations: 8.031 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.8273, allocations: 19.72 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.8276, allocations: 250.7 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.8278, allocations: 126.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.8278, allocations: 11.89 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.8282, allocations: 169.5 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8282, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.8282, allocations: 7.938 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.8282, allocations: 12 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.8283, allocations: 43.97 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.8293, allocations: 476.4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.8294, allocations: 38.56 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.8294, allocations: 24.84 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.8295, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.8295, allocations: 34.56 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.8295, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002564/0.8298, allocations: 113.8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.8298, allocations: 51.41 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.8301, allocations: 219.7 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.8301, allocations: 33.7 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.8302, allocations: 124.1 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.8302, allocations: 23.66 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.8302, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8304, allocations: 326.8 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.8304, allocations: 27.97 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.8305, allocations: 110.2 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.408e-05/0.8306, allocations: 39.92 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8306, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002309/0.8309, allocations: 149.6 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8309, allocations: 8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.8309, allocations: 4.078 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8309, allocations: 7.938 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.831, allocations: 31.92 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.8311, allocations: 3.984 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.8311, allocations: 11.91 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.8311, allocations: 7.953 kB / 1.028 GB, free: 9.98 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.0001448/0.8313, allocations: 153.7 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.8313, allocations: 15.81 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.8316, allocations: 115 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8316, allocations: 4 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8316, allocations: 0 / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8316, allocations: 0 / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.8318, allocations: 237.5 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8318, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.8319, allocations: 15.98 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8319, allocations: 0 / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8319, allocations: 0 / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.8319, allocations: 15.88 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8319, allocations: 0 / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.8321, allocations: 183.3 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.8322, allocations: 96.86 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.8322, allocations: 0 / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.8324, allocations: 31.97 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.8325, allocations: 11.98 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.8325, allocations: 7.984 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001352/0.8326, allocations: 160.2 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8327, allocations: 0 / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002843/0.8329, allocations: 24 kB / 1.029 GB, free: 8.836 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.0002484/0.8332, allocations: 136.9 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.8334, allocations: 63.91 kB / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8334, allocations: 0 / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.8334, allocations: 32.67 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.8337, allocations: 26.81 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.8342, allocations: 322.1 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.8345, allocations: 0.7394 MB / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.8346, allocations: 48.78 kB / 1.03 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.8347, allocations: 15.44 kB / 1.03 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.8347, allocations: 0 / 1.03 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.005002/0.8397, allocations: 2.229 MB / 1.033 GB, free: 5.199 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)