Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.86 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3042, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003645/0.3079, allocations: 1.377 MB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.3081, allocations: 40.36 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.3082, allocations: 0 / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.3084, allocations: 11.92 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3086, allocations: 11.92 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.534e-06/0.3086, allocations: 4 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.3087, allocations: 19.92 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.242e-05/0.3088, allocations: 4 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.3089, allocations: 7.938 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.3089, allocations: 7.984 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.309, allocations: 4 kB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.309, allocations: 12 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.3091, allocations: 11.92 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.3091, allocations: 7.938 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3093, allocations: 23.91 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3093, allocations: 4 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3093, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.3093, allocations: 0 / 1.07 GB, free: 8.895 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005335/0.3098, allocations: 339.6 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.3099, allocations: 12.03 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.3099, allocations: 0.9375 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3103, allocations: 180.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3103, allocations: 384 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3103, allocations: 384 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.982e-05/0.3104, allocations: 38.25 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3104, allocations: 192 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3104, allocations: 3.938 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.3105, allocations: 4 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.3105, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.3107, allocations: 153.7 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.3108, allocations: 26.55 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.3108, allocations: 4.859 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3108, allocations: 4 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3109, allocations: 38.56 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.051e-06/0.3109, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.3111, allocations: 49.5 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3111, allocations: 55.41 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3112, allocations: 113.8 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3112, allocations: 25.7 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.3113, allocations: 84.27 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.3113, allocations: 7.906 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.3114, allocations: 13.72 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3115, allocations: 314.8 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.3115, allocations: 4 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.3115, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.3116, allocations: 12.86 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3116, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.04e-05/0.3116, allocations: 45.69 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.606e-05/0.3117, allocations: 4 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3117, allocations: 3.938 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3117, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.3118, allocations: 4 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3118, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/0.3118, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3118, allocations: 320 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.363e-05/0.3119, allocations: 113.8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.3119, allocations: 7.938 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.312, allocations: 53.14 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.312, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3121, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3121, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.3122, allocations: 161.7 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3122, allocations: 7.938 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.3122, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3122, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3122, allocations: 3.938 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3122, allocations: 4.031 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3122, allocations: 0 / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.571e-05/0.3123, allocations: 61.12 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3124, allocations: 88.95 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.3124, allocations: 3.938 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.3124, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.3124, allocations: 3.938 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.3125, allocations: 4.031 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.3125, allocations: 99.25 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3125, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002112/0.3127, allocations: 4 kB / 1.072 GB, free: 6.445 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 (1): * Single equations (assignments): 1 * 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.000234/0.313, allocations: 114.5 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.3131, allocations: 19.92 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3131, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.3131, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.3133, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.3136, allocations: 113.4 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3141, allocations: 0.6769 MB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.322e-05/0.3142, allocations: 8 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.3142, allocations: 11.44 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3143, allocations: 4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of Templates: time 0.002811/0.3171, allocations: 497 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)