Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.271/1.271, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009904/0.0009904, allocations: 186.9 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0007882/0.0007883, allocations: 90.34 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 13.28 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.2907, allocations: 131.9 MB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.2909, allocations: 71.95 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.00531/0.2962, allocations: 2.114 MB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2963, allocations: 0 / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2963, allocations: 0 / 1.032 GB, free: 9.457 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.0003226/0.2966, allocations: 363.3 kB / 1.033 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2966, allocations: 12.03 kB / 1.033 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.2967, allocations: 0.9375 kB / 1.033 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.2968, allocations: 160.4 kB / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2968, allocations: 4.375 kB / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2968, allocations: 384 / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.2969, allocations: 38.23 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.2969, allocations: 4.188 kB / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2969, allocations: 3.938 kB / 1.033 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2969, allocations: 0 / 1.033 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.297, allocations: 12 kB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.2971, allocations: 153.7 kB / 1.033 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.2972, allocations: 30.55 kB / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.2972, allocations: 12.86 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.2972, allocations: 0 / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.715e-05/0.2973, allocations: 59.48 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2973, allocations: 0 / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/0.2975, allocations: 77.41 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2976, allocations: 59.33 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.2976, allocations: 97.86 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2976, allocations: 29.7 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.2977, allocations: 84.14 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.2977, allocations: 7.891 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.2977, allocations: 0 / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.2978, allocations: 326.8 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.2978, allocations: 4 kB / 1.034 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.2979, allocations: 31.42 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.733e-05/0.2979, allocations: 55.73 kB / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2979, allocations: 0 / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.618e-05/0.298, allocations: 65.56 kB / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2981, allocations: 11.94 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2981, allocations: 0 / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2981, allocations: 3.984 kB / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.2981, allocations: 8 kB / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2982, allocations: 0 / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.2982, allocations: 7.906 kB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2982, allocations: 4.094 kB / 1.034 GB, free: 7.52 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 6.564e-05/0.2983, allocations: 117.8 kB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.2983, allocations: 3.938 kB / 1.034 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2983, allocations: 11.48 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2983, allocations: 0 / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2983, allocations: 0 / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2983, allocations: 0 / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.726e-05/0.2984, allocations: 157.7 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2985, allocations: 0 / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.2985, allocations: 7.938 kB / 1.034 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2985, allocations: 7.938 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2985, allocations: 0 / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2985, allocations: 0 / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2985, allocations: 0 / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.2986, allocations: 85.11 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.2987, allocations: 81.02 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2987, allocations: 3.938 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.2987, allocations: 3.938 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.2987, allocations: 15.98 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.2987, allocations: 0 / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.565e-05/0.2988, allocations: 75.28 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2988, allocations: 4 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000234/0.299, allocations: 39.98 kB / 1.034 GB, free: 6.816 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.0003088/0.2993, allocations: 185.4 kB / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.2994, allocations: 23.98 kB / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2994, allocations: 0 / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.2995, allocations: 15.94 kB / 1.035 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.2996, allocations: 0 / 1.035 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.2998, allocations: 112.7 kB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.3, allocations: 0.685 MB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.3001, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.236e-05/0.3001, allocations: 11.44 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3001, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of Templates: time 0.002956/0.3031, allocations: 1.141 MB / 1.037 GB, free: 4.609 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)