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.00134/0.00134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001422/0.001422, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002534/0.2985, allocations: 1.544 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2997, allocations: 1.093 MB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.2998, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.3, allocations: 11.92 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3001, allocations: 31.86 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.3003, allocations: 59.34 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3005, allocations: 151.5 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3006, allocations: 61.03 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.3007, allocations: 83.81 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3009, allocations: 59.69 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.3009, allocations: 12 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.301, allocations: 28 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.3011, allocations: 55.75 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.3012, allocations: 79.52 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3014, allocations: 199.6 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3014, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3014, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3014, allocations: 0 / 1.071 GB, free: 7.309 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.000605/0.302, allocations: 498.7 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.302, allocations: 8.031 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.3021, allocations: 16.75 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3024, allocations: 257.8 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.3025, allocations: 115.4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3025, allocations: 8.375 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.3029, allocations: 161.6 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3029, allocations: 7.984 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3029, allocations: 4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.3029, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.303, allocations: 47.91 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.304, allocations: 464.3 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.304, allocations: 34.56 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.3041, allocations: 20.86 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3041, allocations: 7.984 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3041, allocations: 42.5 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.3041, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002424/0.3044, allocations: 97.72 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3044, allocations: 51.41 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3046, allocations: 227.7 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3047, allocations: 37.64 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.3047, allocations: 116 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3048, allocations: 27.64 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.3048, allocations: 29.72 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3049, allocations: 326.8 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.305, allocations: 27.98 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.3051, allocations: 102.2 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3053, allocations: 138.2 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3053, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002192/0.3055, allocations: 153.2 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3055, allocations: 8 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3055, allocations: 4 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3055, allocations: 4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.3056, allocations: 23.92 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3057, allocations: 11.88 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.3057, allocations: 15.84 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3057, allocations: 8.375 kB / 1.074 GB, free: 3.949 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.0001138/0.3059, allocations: 149.8 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.3059, allocations: 15.81 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3061, allocations: 111 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3061, allocations: 3.938 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3062, allocations: 7.938 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3062, allocations: 0 / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.3064, allocations: 233.5 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3064, allocations: 4 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.3065, allocations: 16 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3065, allocations: 3.938 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.3065, allocations: 3.984 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3065, allocations: 0 / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3065, allocations: 3.938 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.3067, allocations: 183.3 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.3067, allocations: 85.02 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3068, allocations: 12 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.307, allocations: 19.97 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.307, allocations: 11.88 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3071, allocations: 7.984 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001294/0.3072, allocations: 165.5 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3072, allocations: 0 / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002905/0.3075, allocations: 31.91 kB / 1.075 GB, free: 2.801 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 (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.0001999/0.3077, allocations: 128 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.3079, allocations: 83.83 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3079, allocations: 0.75 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.3079, allocations: 28.39 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3082, allocations: 25.55 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.3087, allocations: 335.1 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.309, allocations: 0.7314 MB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.3091, allocations: 44.8 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3091, allocations: 19.42 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3092, allocations: 0 / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of Templates: time 0.004697/0.3139, allocations: 2.384 MB / 1.079 GB, free: 15 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)