Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.6 MB / 307.5 MB, free: 5.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 184.4 kB / 377.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 0.6367 GB, free: 8.535 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009217/0.0009215, allocations: 97.56 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004307, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2968, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.791/1.088, allocations: 139.2 MB / 1.124 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.088, allocations: 73.47 kB / 1.124 GB, free: 35.45 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.005074/1.093, allocations: 2.1 MB / 1.126 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/1.093, allocations: 0 / 1.126 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.093, allocations: 0 / 1.126 GB, free: 33.92 MB / 0.7292 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.0002983/1.093, allocations: 355.1 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/1.094, allocations: 8.031 kB / 1.127 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/1.094, allocations: 9.062 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.711e-05/1.094, allocations: 159.1 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.094, allocations: 4 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/1.094, allocations: 3.438 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.901e-05/1.094, allocations: 45.2 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.094, allocations: 0.8438 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/1.094, allocations: 1.969 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/1.094, allocations: 1.125 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/1.094, allocations: 8 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/1.094, allocations: 157.2 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.25e-05/1.094, allocations: 32.67 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/1.094, allocations: 0 / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/1.094, allocations: 63.53 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.094, allocations: 3.438 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001802/1.094, allocations: 66.95 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/1.094, allocations: 51.41 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/1.095, allocations: 93.64 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/1.095, allocations: 29.7 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/1.095, allocations: 80.14 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/1.095, allocations: 7.906 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/1.095, allocations: 7 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.274e-05/1.095, allocations: 318.2 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/1.095, allocations: 4 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/1.095, allocations: 35.67 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/1.095, allocations: 16 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.095, allocations: 3.953 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.571e-05/1.095, allocations: 65.11 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.095, allocations: 9.875 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.095, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.095, allocations: 4.656 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/1.095, allocations: 11.41 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.095, allocations: 0.5469 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/1.095, allocations: 8.656 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/1.095, allocations: 8 kB / 1.128 GB, free: 32.14 MB / 0.7292 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 5.529e-05/1.095, allocations: 109.8 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-06/1.095, allocations: 7.953 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/1.095, allocations: 11.58 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/1.095, allocations: 0 / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.095, allocations: 0 / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/1.095, allocations: 1.406 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.563e-05/1.095, allocations: 149.7 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.095, allocations: 4 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/1.095, allocations: 8.703 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/1.095, allocations: 0.5625 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/1.095, allocations: 0 / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.095, allocations: 7.875 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.095, allocations: 3.469 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/1.095, allocations: 89.16 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/1.095, allocations: 80.58 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/1.095, allocations: 7.953 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/1.095, allocations: 0.5625 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/1.096, allocations: 4.5 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/1.096, allocations: 0 / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.303e-05/1.096, allocations: 85.14 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.096, allocations: 0 / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002446/1.096, allocations: 36 kB / 1.129 GB, free: 31.48 MB / 0.7292 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.0003424/1.096, allocations: 174.9 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/1.096, allocations: 28.2 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.096, allocations: 0 / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/1.096, allocations: 12.97 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.345e-05/1.096, allocations: 4.875 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/1.097, allocations: 120.9 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/1.097, allocations: 0.6766 MB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.127e-05/1.097, allocations: 4 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/1.097, allocations: 7.438 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.097, allocations: 0 / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.003113/1.1, allocations: 1.168 MB / 1.131 GB, free: 29.79 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)