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.383/2.383, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002039/0.002039, allocations: 182.5 kB / 325.6 MB, free: 2.84 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.743/2.743, allocations: 205.4 MB / 0.5766 GB, free: 21.17 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.001094/0.001094, allocations: 104 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004838, allocations: 11.66 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2034, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2784/0.4819, allocations: 131.7 MB / 1.027 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.4824, allocations: 79.94 kB / 1.028 GB, free: 14.01 MB / 0.6823 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.01036/0.4928, allocations: 2.104 MB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4928, allocations: 0 / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.4928, allocations: 3.938 kB / 1.03 GB, free: 11.89 MB / 0.6823 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.0004666/0.4933, allocations: 352.6 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4933, allocations: 12.03 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.4934, allocations: 7.891 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.4935, allocations: 167 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4936, allocations: 7.984 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.4936, allocations: 4 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.4937, allocations: 33.69 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4937, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4938, allocations: 8 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4938, allocations: 0 / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.4938, allocations: 0 / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.494, allocations: 161.7 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.008e-05/0.4941, allocations: 31.56 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.4941, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.4943, allocations: 63.48 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.4943, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.4946, allocations: 69.53 kB / 1.031 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4946, allocations: 55.39 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.4947, allocations: 93 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4947, allocations: 25.7 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.4948, allocations: 84.14 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4948, allocations: 7.906 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.4948, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.495, allocations: 326.8 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.495, allocations: 4 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.4951, allocations: 39.36 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.4951, allocations: 12 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4952, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001444/0.4953, allocations: 69.56 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4953, allocations: 8 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4954, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4954, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4955, allocations: 11.98 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4955, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.4956, allocations: 7.906 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4956, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 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 0.0001036/0.4957, allocations: 125.8 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.4957, allocations: 432 / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.4958, allocations: 7.5 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4958, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4958, allocations: 3.984 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4958, allocations: 7.922 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.496, allocations: 165.5 kB / 1.032 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.496, allocations: 0 / 1.032 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.496, allocations: 4 kB / 1.032 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4961, allocations: 4 kB / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4961, allocations: 4 kB / 1.032 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4961, allocations: 0 / 1.032 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4961, allocations: 0 / 1.032 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.4963, allocations: 85.06 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.4963, allocations: 85.02 kB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4964, allocations: 0 / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.132e-05/0.4964, allocations: 4 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.4964, allocations: 4 kB / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4965, allocations: 11.92 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.4965, allocations: 75.28 kB / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4965, allocations: 4 kB / 1.032 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003708/0.4969, allocations: 39.94 kB / 1.032 GB, free: 9.324 MB / 0.6823 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.0004532/0.4974, allocations: 162 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.4975, allocations: 36.11 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4975, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.4976, allocations: 12 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.4977, allocations: 3.938 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.4981, allocations: 116.8 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.4984, allocations: 0.6809 MB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.4984, allocations: 4.188 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.4984, allocations: 15.42 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.4985, allocations: 0 / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of Templates: time 0.004889/0.5034, allocations: 1.154 MB / 1.034 GB, free: 7.102 MB / 0.6823 GB