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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001328/0.001328, allocations: 191.8 kB / 16.14 MB, free: 6.688 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 / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 62.38 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3274, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002965/0.3304, allocations: 1.55 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.332, allocations: 1.096 MB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.3321, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.3323, allocations: 15.92 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.3325, allocations: 39.84 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.3327, allocations: 47.92 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3329, allocations: 143.6 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3331, allocations: 61.08 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.3332, allocations: 71.7 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3334, allocations: 51.77 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.3335, allocations: 11.98 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.3336, allocations: 24 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.3337, allocations: 51.75 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.686e-05/0.3338, allocations: 63.59 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.334, allocations: 195.6 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.334, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.52e-07/0.334, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.334, allocations: 0 / 1.071 GB, free: 7.512 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.0007269/0.3348, allocations: 498.7 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3348, allocations: 8.031 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.571e-05/0.3349, allocations: 16.75 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.3352, allocations: 257.8 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.3354, allocations: 123.4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.3354, allocations: 8.312 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.3358, allocations: 161.7 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3358, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.3359, allocations: 4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.3359, allocations: 8 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.336, allocations: 47.91 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.337, allocations: 460.3 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.3371, allocations: 34.56 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.3372, allocations: 20.86 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3372, allocations: 12.12 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3373, allocations: 34.5 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3373, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002892/0.3376, allocations: 97.58 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3376, allocations: 59.41 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.3378, allocations: 227.7 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.3379, allocations: 29.64 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.338, allocations: 120 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.338, allocations: 31.62 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.3381, allocations: 25.72 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3382, allocations: 330.8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.3383, allocations: 23.98 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3384, allocations: 102.2 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.3386, allocations: 142.2 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3387, allocations: 3.938 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000268/0.3389, allocations: 153.2 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.339, allocations: 4.375 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.339, allocations: 8 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.339, allocations: 4 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3391, allocations: 27.92 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.3391, allocations: 3.938 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.3392, allocations: 15.84 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3392, allocations: 8 kB / 1.074 GB, free: 4.148 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.0001307/0.3394, allocations: 141.8 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.3394, allocations: 15.81 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.3397, allocations: 119.1 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3397, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3397, allocations: 3.938 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3397, allocations: 3.938 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.34, allocations: 233.5 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.34, allocations: 0 / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.34, allocations: 12 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.34, allocations: 0 / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3401, allocations: 7.984 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3401, allocations: 8 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3401, allocations: 3.938 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3403, allocations: 191.3 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.3404, allocations: 85.02 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3404, allocations: 3.938 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3407, allocations: 23.97 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.3407, allocations: 7.938 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3407, allocations: 11.98 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001551/0.3409, allocations: 161.5 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3409, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003448/0.3412, allocations: 35.89 kB / 1.075 GB, free: 2.996 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.0003549/0.3416, allocations: 131.3 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3418, allocations: 75.77 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3419, allocations: 0 / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.3419, allocations: 20 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.3423, allocations: 23.77 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.3431, allocations: 337.7 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3436, allocations: 0.7355 MB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.3437, allocations: 48.73 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.3438, allocations: 23.42 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3438, allocations: 0 / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of Templates: time 0.00639/0.3502, allocations: 2.317 MB / 1.078 GB, free: 15.27 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)