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.0008419/0.0008419, allocations: 91.84 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.0009009/0.0009012, 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.957/2.957, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00061/0.0006104, allocations: 6.438 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3976, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002242/0.3999, allocations: 1.19 MB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.4015, allocations: 1.039 MB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.4016, allocations: 8 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.4019, allocations: 11.94 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.4021, allocations: 31.84 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.4023, allocations: 62.33 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.4025, allocations: 119.6 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.4027, allocations: 61.2 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.4028, allocations: 63.77 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.403, allocations: 47.72 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.4031, allocations: 4 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.4031, allocations: 12 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.4032, allocations: 43.88 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.4033, allocations: 41.64 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.4035, allocations: 147.9 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4035, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4035, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4035, allocations: 4 kB / 1.061 GB, free: 2.434 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.0007635/0.4043, allocations: 454.6 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.4044, allocations: 12.03 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.4045, allocations: 19.81 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.4049, allocations: 238.8 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.4051, allocations: 130.8 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4051, allocations: 7.984 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.4055, allocations: 165.5 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4055, allocations: 0 / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.4055, allocations: 8 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.4056, allocations: 11.98 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.4057, allocations: 39.97 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.4068, allocations: 480.3 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/0.4069, allocations: 34.58 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.4069, allocations: 20.84 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.407, allocations: 12.14 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.407, allocations: 34.55 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.407, allocations: 0 / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000296/0.4073, allocations: 105.4 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4074, allocations: 59.36 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.4076, allocations: 219.9 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.4077, allocations: 29.7 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.4078, allocations: 124 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.4078, allocations: 19.66 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.4078, allocations: 4 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.408, allocations: 330.9 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.408, allocations: 23.92 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.4082, allocations: 102.2 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/0.4083, allocations: 43.98 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4083, allocations: 0 / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002701/0.4085, allocations: 153.5 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4086, allocations: 11.94 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4086, allocations: 4 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4086, allocations: 7.984 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4087, allocations: 23.94 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4087, allocations: 7.984 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.4088, allocations: 19.8 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.4088, allocations: 8 kB / 1.064 GB, free: 15.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.409, allocations: 141.8 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.409, allocations: 19.88 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.4093, allocations: 115 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4093, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4093, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4093, allocations: 4 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.4096, allocations: 241.4 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4096, allocations: 0 / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.4096, allocations: 19.92 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4096, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4097, allocations: 7.938 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4097, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4097, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.4099, allocations: 199.7 kB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.41, allocations: 92.91 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.41, allocations: 4 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.4102, allocations: 27.98 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.4102, allocations: 3.984 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.4103, allocations: 11.98 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001642/0.4104, allocations: 161.5 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4104, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003118/0.4108, allocations: 28 kB / 1.065 GB, free: 14.09 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 (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.000273/0.411, allocations: 132.2 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.4113, allocations: 67.84 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4113, allocations: 0.75 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.4113, allocations: 27.92 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.4116, allocations: 31.56 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.4122, allocations: 318.1 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.4126, allocations: 0.7278 MB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.4127, allocations: 56.72 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.4127, allocations: 19.44 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.224e-06/0.4128, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.006052/0.4188, allocations: 2.23 MB / 1.068 GB, free: 10.46 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)