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.323/2.323, allocations: 252.6 MB / 265.2 MB, free: 5.648 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.00141/0.00141, allocations: 183.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 0.5754 GB, free: 10.52 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.001068/0.001068, allocations: 92.64 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.279e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2555, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.905/1.161, allocations: 131.6 MB / 1.023 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.161, allocations: 71.52 kB / 1.023 GB, free: 2.805 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.009285/1.17, allocations: 2.087 MB / 1.026 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.542e-06/1.17, allocations: 0 / 1.026 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.17, allocations: 4 kB / 1.026 GB, free: 0.9883 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.000474/1.171, allocations: 345 kB / 1.026 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.171, allocations: 12.03 kB / 1.026 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/1.171, allocations: 11.89 kB / 1.026 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.171, allocations: 167 kB / 1.026 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.171, allocations: 0 / 1.026 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/1.171, allocations: 7.125 kB / 1.026 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/1.171, allocations: 33.69 kB / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.171, allocations: 0.875 kB / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.171, allocations: 0 / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.171, allocations: 0 / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/1.171, allocations: 7.938 kB / 1.026 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/1.172, allocations: 164 kB / 1.026 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/1.172, allocations: 32.91 kB / 1.026 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/1.172, allocations: 12.86 kB / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/1.172, allocations: 0 / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/1.172, allocations: 55.31 kB / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/1.172, allocations: 0 / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002487/1.172, allocations: 68.27 kB / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/1.172, allocations: 55.41 kB / 1.026 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/1.172, allocations: 88.69 kB / 1.027 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/1.172, allocations: 29.7 kB / 1.027 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/1.172, allocations: 80.14 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/1.172, allocations: 7.531 kB / 1.027 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/1.173, allocations: 0 / 1.027 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.173, allocations: 330.7 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/1.173, allocations: 7.938 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/1.173, allocations: 30.75 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/1.173, allocations: 23.45 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.173, allocations: 0 / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001453/1.173, allocations: 65.44 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.173, allocations: 5.562 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.173, allocations: 0 / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.173, allocations: 7.812 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/1.173, allocations: 4 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/1.173, allocations: 3.984 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/1.173, allocations: 11.41 kB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.173, allocations: 7.938 kB / 1.027 GB, free: 15.18 MB / 0.6511 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 8.946e-05/1.173, allocations: 116.9 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/1.173, allocations: 0 / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/1.173, allocations: 10.81 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.173, allocations: 0 / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/1.173, allocations: 0 / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.173, allocations: 0 / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/1.174, allocations: 157.2 kB / 1.027 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.174, allocations: 0 / 1.027 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/1.174, allocations: 4 kB / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.174, allocations: 0 / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.174, allocations: 3.984 kB / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.174, allocations: 4 kB / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.174, allocations: 0 / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/1.174, allocations: 87.89 kB / 1.027 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/1.174, allocations: 85 kB / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.174, allocations: 0 / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.898e-05/1.174, allocations: 0 / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/1.174, allocations: 7.875 kB / 1.028 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/1.174, allocations: 0 / 1.028 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.509e-05/1.174, allocations: 83.28 kB / 1.028 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.174, allocations: 0 / 1.028 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003518/1.175, allocations: 43.3 kB / 1.028 GB, free: 14.51 MB / 0.6511 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.0004466/1.175, allocations: 167.1 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000129/1.175, allocations: 31.67 kB / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.175, allocations: 3.188 kB / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/1.175, allocations: 8 kB / 1.028 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/1.175, allocations: 18.17 kB / 1.028 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/1.176, allocations: 65.36 kB / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/1.176, allocations: 0.677 MB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.069e-05/1.176, allocations: 4 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/1.176, allocations: 11.5 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/1.176, allocations: 3.938 kB / 1.029 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.00488/1.181, allocations: 1.173 MB / 1.03 GB, free: 12.34 MB / 0.6511 GB