Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001032/0.001032, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001403/0.001403, allocations: 173.8 kB / 16.27 MB, free: 6.664 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004518, allocations: 8.344 kB / 0.9158 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3656, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00194/0.3676, allocations: 1.208 MB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3693, allocations: 1.077 MB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.3694, allocations: 4 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.3696, allocations: 7.922 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.3698, allocations: 39.84 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3701, allocations: 50.92 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3703, allocations: 147.5 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3704, allocations: 57.09 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3706, allocations: 67.77 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.3707, allocations: 43.72 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.3708, allocations: 4 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.3709, allocations: 31.92 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.371, allocations: 39.89 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.3711, allocations: 97.16 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.3713, allocations: 187.6 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3713, allocations: 0 / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3713, allocations: 0 / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3714, allocations: 0 / 1.077 GB, free: 4.484 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.0006263/0.372, allocations: 462.8 kB / 1.078 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.372, allocations: 8.031 kB / 1.078 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.3721, allocations: 20.73 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3724, allocations: 253.8 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3726, allocations: 123.3 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3726, allocations: 8.375 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.373, allocations: 169.7 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.373, allocations: 0 / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.373, allocations: 11.98 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.373, allocations: 8 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.959e-05/0.3731, allocations: 43.91 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.3742, allocations: 480.4 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.3743, allocations: 30.56 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.3744, allocations: 24.84 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.3744, allocations: 7.938 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3744, allocations: 38.56 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3745, allocations: 0 / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002619/0.3747, allocations: 105.8 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3748, allocations: 59.39 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.375, allocations: 219.8 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.375, allocations: 29.7 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.3751, allocations: 119.9 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.3752, allocations: 31.58 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3752, allocations: 21.72 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3753, allocations: 330.8 kB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.3754, allocations: 23.98 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.592e-05/0.3755, allocations: 102.2 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3756, allocations: 134.2 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3756, allocations: 4 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002445/0.3759, allocations: 157.2 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3759, allocations: 9.5 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3759, allocations: 4 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.376, allocations: 4 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.3761, allocations: 23.98 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3761, allocations: 7.938 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.3761, allocations: 15.78 kB / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3762, allocations: 8.281 kB / 1.08 GB, free: 1.129 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.0001265/0.3763, allocations: 149.8 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.3763, allocations: 11.81 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.3766, allocations: 123.1 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3766, allocations: 3.984 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3766, allocations: 3.938 kB / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3766, allocations: 0 / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3768, allocations: 233.5 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.3769, allocations: 4 kB / 1.081 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.3769, allocations: 12 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3769, allocations: 0 / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3769, allocations: 7.984 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3769, allocations: 0 / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3769, allocations: 7.875 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3771, allocations: 187.3 kB / 1.081 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.3772, allocations: 88.92 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3772, allocations: 4 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.3775, allocations: 31.97 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.3775, allocations: 7.938 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.3775, allocations: 15.97 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001351/0.3777, allocations: 157.5 kB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3777, allocations: 112 / 1.081 GB, free: 16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003081/0.378, allocations: 35.84 kB / 1.081 GB, free: 15.96 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.00025/0.3783, allocations: 120.5 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.3785, allocations: 72.52 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3785, allocations: 4.062 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.3785, allocations: 23.98 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.3788, allocations: 23.78 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.3794, allocations: 341.6 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3797, allocations: 0.7316 MB / 1.082 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.3798, allocations: 56.62 kB / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.3799, allocations: 19.42 kB / 1.082 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3799, allocations: 0 / 1.082 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of Templates: time 0.005244/0.3852, allocations: 2.295 MB / 1.085 GB, free: 12.26 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)