Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.605/3.605, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 177.8 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.036/4.036, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 97.28 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007708/0.000771, allocations: 9.281 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3444, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.6854, allocations: 131.7 MB / 1.028 GB, free: 14.15 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005607/0.6861, allocations: 75.95 kB / 1.028 GB, free: 14.08 MB / 0.6824 GB [/home/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.0149/0.701, allocations: 2.117 MB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.647e-06/0.701, allocations: 0 / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.7011, allocations: 4 kB / 1.03 GB, free: 11.95 MB / 0.6824 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.0007435/0.7018, allocations: 355.4 kB / 1.031 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 8.641e-05/0.7019, allocations: 11.97 kB / 1.031 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.702, allocations: 4.938 kB / 1.031 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.7023, allocations: 168.3 kB / 1.031 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.7023, allocations: 384 / 1.031 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.7024, allocations: 12.36 kB / 1.031 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.7026, allocations: 34.25 kB / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.7026, allocations: 192 / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.7026, allocations: 3.938 kB / 1.031 GB, free: 11.28 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.7027, allocations: 3.984 kB / 1.031 GB, free: 11.28 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.7027, allocations: 8 kB / 1.031 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.703, allocations: 153.7 kB / 1.031 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.7032, allocations: 35.98 kB / 1.031 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.7033, allocations: 12.86 kB / 1.031 GB, free: 11.01 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.7033, allocations: 0 / 1.031 GB, free: 11.01 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.7035, allocations: 59.5 kB / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 3.406e-06/0.7036, allocations: 0 / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4): time 0.0003704/0.7039, allocations: 77.45 kB / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.704, allocations: 51.41 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.7042, allocations: 101.8 kB / 1.031 GB, free: 10.69 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.7043, allocations: 25.7 kB / 1.031 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.7044, allocations: 80.14 kB / 1.031 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.7044, allocations: 11.91 kB / 1.031 GB, free: 10.56 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.7045, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7047, allocations: 318.8 kB / 1.032 GB, free: 10.24 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.7047, allocations: 11.94 kB / 1.032 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.7048, allocations: 31.42 kB / 1.032 GB, free: 10.19 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.098e-05/0.7049, allocations: 12 kB / 1.032 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.7049, allocations: 0 / 1.032 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002649/0.7052, allocations: 69.56 kB / 1.032 GB, free: 10.1 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.7053, allocations: 11.94 kB / 1.032 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7053, allocations: 0 / 1.032 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.7054, allocations: 0 / 1.032 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.7055, allocations: 8 kB / 1.032 GB, free: 10.08 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.7056, allocations: 7.984 kB / 1.032 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.7057, allocations: 11.91 kB / 1.032 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.7058, allocations: 0 / 1.032 GB, free: 10.06 MB / 0.6824 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.0001649/0.7059, allocations: 117.9 kB / 1.032 GB, free: 9.938 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.706, allocations: 8.359 kB / 1.032 GB, free: 9.93 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.7061, allocations: 7.5 kB / 1.032 GB, free: 9.918 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7061, allocations: 0 / 1.032 GB, free: 9.918 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.7061, allocations: 3.984 kB / 1.032 GB, free: 9.914 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.7062, allocations: 0 / 1.032 GB, free: 9.914 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.7064, allocations: 157.5 kB / 1.032 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7064, allocations: 0 / 1.032 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.7065, allocations: 7.984 kB / 1.032 GB, free: 9.703 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.7065, allocations: 3.938 kB / 1.032 GB, free: 9.699 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.7066, allocations: 8 kB / 1.032 GB, free: 9.691 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.7066, allocations: 0 / 1.032 GB, free: 9.691 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7066, allocations: 0 / 1.032 GB, free: 9.691 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.7069, allocations: 85.11 kB / 1.032 GB, free: 9.59 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.707, allocations: 81.02 kB / 1.032 GB, free: 9.492 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.707, allocations: 3.938 kB / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.7071, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.7072, allocations: 7.938 kB / 1.032 GB, free: 9.48 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.7072, allocations: 4 kB / 1.032 GB, free: 9.477 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.7073, allocations: 87.27 kB / 1.032 GB, free: 9.391 MB / 0.6824 GB Notification: Performance of sort global known variables: time 7.22e-07/0.7073, allocations: 0 / 1.032 GB, free: 9.391 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0006473/0.708, allocations: 35.94 kB / 1.032 GB, free: 9.355 MB / 0.6824 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.0006667/0.7087, allocations: 163.1 kB / 1.033 GB, free: 9.199 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.7089, allocations: 36.11 kB / 1.033 GB, free: 9.164 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.709, allocations: 0 / 1.033 GB, free: 9.164 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.7091, allocations: 15.98 kB / 1.033 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.7094, allocations: 0 / 1.033 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.7099, allocations: 120.8 kB / 1.033 GB, free: 9.004 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.7103, allocations: 0.677 MB / 1.033 GB, free: 8.301 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.497e-05/0.7104, allocations: 4.188 kB / 1.033 GB, free: 8.297 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.7104, allocations: 11.44 kB / 1.033 GB, free: 8.285 MB / 0.6824 GB Notification: Performance of SimCode: time 1.102e-06/0.7105, allocations: 0 / 1.033 GB, free: 8.285 MB / 0.6824 GB Notification: Performance of Templates: time 0.007645/0.7181, allocations: 1.164 MB / 1.035 GB, free: 7.121 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)