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.001081/0.001081, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009268/0.009268, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 6.938 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001849/0.3415, allocations: 1.095 MB / 1.075 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.3417, allocations: 43.77 kB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.3418, allocations: 4 kB / 1.075 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.3419, allocations: 7.984 kB / 1.075 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3421, allocations: 15.92 kB / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.3421, allocations: 0 / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.3421, allocations: 15.94 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.3422, allocations: 3.984 kB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.3422, allocations: 11.94 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.3423, allocations: 4 kB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3423, allocations: 0 / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-05/0.3424, allocations: 8 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.3424, allocations: 15.91 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.3425, allocations: 33.64 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3426, allocations: 31.91 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3426, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3426, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3426, allocations: 0 / 1.075 GB, free: 6.246 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.0003749/0.343, allocations: 335.7 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3431, allocations: 8.031 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3431, allocations: 0.9375 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.3433, allocations: 176.3 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3433, allocations: 4.375 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3433, allocations: 8.312 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.707e-05/0.3434, allocations: 30.27 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.3435, allocations: 192 / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3435, allocations: 3.938 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.3435, allocations: 4 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.3435, allocations: 7.984 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.3437, allocations: 153.7 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.3437, allocations: 18.52 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.3438, allocations: 12.92 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3438, allocations: 3.938 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3438, allocations: 30.56 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3438, allocations: 0 / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.344, allocations: 41.64 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.344, allocations: 55.39 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3441, allocations: 113.8 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3442, allocations: 29.83 kB / 1.076 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.3443, allocations: 88.14 kB / 1.076 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3443, allocations: 3.906 kB / 1.076 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.3443, allocations: 13.66 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3445, allocations: 314.8 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.3445, allocations: 8 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.3445, allocations: 0 / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.3445, allocations: 12.91 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3445, allocations: 4 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.679e-05/0.3446, allocations: 37.7 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3446, allocations: 4 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3446, allocations: 3.938 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3447, allocations: 3.984 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.3447, allocations: 4 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3447, allocations: 3.938 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.3447, allocations: 3.984 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3448, allocations: 0 / 1.077 GB, free: 4.508 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 0.0001018/0.3449, allocations: 113.9 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.3449, allocations: 0 / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.345, allocations: 53.06 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.345, allocations: 0 / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.345, allocations: 0 / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.345, allocations: 0 / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3452, allocations: 153.7 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.3452, allocations: 8 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.3452, allocations: 0 / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3452, allocations: 4.031 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3452, allocations: 3.938 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3452, allocations: 0 / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3452, allocations: 0 / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.986e-05/0.3453, allocations: 69 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.3454, allocations: 81.11 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3454, allocations: 7.922 kB / 1.077 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-06/0.3454, allocations: 0 / 1.077 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.3454, allocations: 4.031 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.3454, allocations: 0 / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001611/0.3456, allocations: 99.58 kB / 1.077 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3456, allocations: 0 / 1.077 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001974/0.3458, allocations: 7.984 kB / 1.077 GB, free: 3.809 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.0002482/0.3461, allocations: 116.4 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.3461, allocations: 7.938 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3462, allocations: 0 / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.3462, allocations: 4 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3463, allocations: 4 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.3466, allocations: 116.6 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3469, allocations: 0.685 MB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.48e-05/0.3469, allocations: 7.984 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.347, allocations: 7.438 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of SimCode: time 9.02e-07/0.347, allocations: 0 / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of Templates: time 0.002927/0.3499, allocations: 486.6 kB / 1.079 GB, free: 2.34 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)