Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.322/2.322, allocations: 253.2 MB / 260.6 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 185.9 kB / 319.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001054, allocations: 86.72 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.13e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1971, allocations: 106.2 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9113/1.108, allocations: 131.9 MB / 1.017 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.109, allocations: 75.64 kB / 1.018 GB, free: 5.457 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0239/1.133, allocations: 2.073 MB / 1.02 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.133, allocations: 0 / 1.02 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.133, allocations: 0 / 1.02 GB, free: 3.691 MB / 0.6355 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.0005606/1.133, allocations: 354.2 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/1.133, allocations: 12.03 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.134, allocations: 7.891 kB / 1.02 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/1.134, allocations: 159.1 kB / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.134, allocations: 0 / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/1.134, allocations: 4.75 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.222e-05/1.134, allocations: 4 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/1.134, allocations: 37 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.134, allocations: 0 / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/1.134, allocations: 3.984 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.134, allocations: 7.938 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/1.134, allocations: 137.9 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.134, allocations: 29.98 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/1.134, allocations: 8.859 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/1.135, allocations: 0 / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/1.135, allocations: 61.97 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/1.135, allocations: 0 / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003005/1.135, allocations: 61.28 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/1.135, allocations: 59.27 kB / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/1.135, allocations: 89 kB / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/1.135, allocations: 25.7 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/1.135, allocations: 80.14 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/1.135, allocations: 10.84 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.135, allocations: 4 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.136, allocations: 322.7 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/1.136, allocations: 4 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/1.136, allocations: 35.36 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/1.136, allocations: 4 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.136, allocations: 8.922 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001912/1.136, allocations: 57.38 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.136, allocations: 8 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.136, allocations: 0 / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/1.136, allocations: 0 / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/1.136, allocations: 11.94 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.136, allocations: 0 / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/1.136, allocations: 7.906 kB / 1.021 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/1.136, allocations: 3.938 kB / 1.021 GB, free: 1.934 MB / 0.6355 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 () * 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 0.0001272/1.137, allocations: 124.6 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/1.137, allocations: 3.938 kB / 1.021 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/1.137, allocations: 4.125 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.137, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.137, allocations: 4 kB / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.137, allocations: 0 / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/1.137, allocations: 132.8 kB / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.137, allocations: 4 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/1.137, allocations: 3.953 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.137, allocations: 0 / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.137, allocations: 4 kB / 1.021 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/1.137, allocations: 7.938 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.137, allocations: 0 / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/1.137, allocations: 84.56 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/1.137, allocations: 81.02 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/1.137, allocations: 3.953 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/1.137, allocations: 0 / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/1.138, allocations: 7.984 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.138, allocations: 4 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.042e-05/1.138, allocations: 82.91 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/1.138, allocations: 0 / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006381/1.138, allocations: 39.92 kB / 1.022 GB, free: 1.281 MB / 0.6355 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 () * 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.0005284/1.139, allocations: 170.7 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001265/1.139, allocations: 22.31 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.139, allocations: 0 / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/1.139, allocations: 11.19 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/1.139, allocations: 5.312 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/1.139, allocations: 74.98 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.14, allocations: 0.6806 MB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.605e-05/1.14, allocations: 8.188 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/1.14, allocations: 10.12 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of SimCode: time 6.62e-07/1.14, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of Templates: time 0.004996/1.145, allocations: 1.153 MB / 1.024 GB, free: 15.13 MB / 0.6511 GB