Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.956/4.956, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002474/0.002473, allocations: 350.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.408/4.408, allocations: 410.7 MB / 1.113 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002499/0.002499, allocations: 195.9 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.000531, allocations: 12 kB / 1.349 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8405, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/1.036, allocations: 138 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.037, allocations: 75.73 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008044/1.045, allocations: 2.102 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.054e-06/1.045, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.045, allocations: 5.25 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003694/1.045, allocations: 351.1 kB / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.045, allocations: 11.62 kB / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/1.045, allocations: 11.91 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/1.045, allocations: 167.5 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.045, allocations: 1.5 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/1.045, allocations: 4 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/1.046, allocations: 37.69 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.046, allocations: 0.7188 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.046, allocations: 3.469 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.046, allocations: 0.5312 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/1.046, allocations: 7.938 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/1.046, allocations: 164.3 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.914e-05/1.046, allocations: 26.58 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/1.046, allocations: 8.859 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/1.046, allocations: 8.703 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/1.046, allocations: 52.97 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 3.216e-06/1.046, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002106/1.046, allocations: 74.11 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.046, allocations: 57.03 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.513e-05/1.046, allocations: 93.86 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/1.046, allocations: 25.7 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/1.046, allocations: 88.12 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/1.047, allocations: 12.58 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.047, allocations: 0.875 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/1.047, allocations: 318.8 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/1.047, allocations: 5.062 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/1.047, allocations: 36.73 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/1.047, allocations: 16.44 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.047, allocations: 5.594 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001206/1.047, allocations: 73.52 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.047, allocations: 4 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.047, allocations: 0.875 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.047, allocations: 4 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/1.047, allocations: 4.875 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.047, allocations: 7.938 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/1.047, allocations: 2.438 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.047, allocations: 4 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/1.047, allocations: 117.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/1.047, allocations: 7.984 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/1.047, allocations: 4.484 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.047, allocations: 1.25 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.047, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.047, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.515e-05/1.047, allocations: 158.3 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.047, allocations: 0 / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/1.047, allocations: 4.844 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.047, allocations: 0 / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/1.047, allocations: 0.7188 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.047, allocations: 0 / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/1.048, allocations: 0.625 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/1.048, allocations: 99.89 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/1.048, allocations: 77.11 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/1.048, allocations: 7.938 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/1.048, allocations: 9.172 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/1.048, allocations: 4 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/1.048, allocations: 0 / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.394e-05/1.048, allocations: 80.44 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/1.048, allocations: 0 / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003385/1.048, allocations: 39.98 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004254/1.049, allocations: 176.5 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001193/1.049, allocations: 33.27 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/1.049, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/1.049, allocations: 12 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.049, allocations: 1 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/1.049, allocations: 122 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/1.049, allocations: 0.6826 MB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.695e-05/1.049, allocations: 12.91 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/1.05, allocations: 7.438 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/1.05, allocations: 4.969 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.004326/1.054, allocations: 1.149 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB