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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 196.3 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.549 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 69.09 kB / 0.6723 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2701, allocations: 114.5 MB / 0.7841 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002755/0.2729, allocations: 1.204 MB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.2739, allocations: 419.4 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.2739, allocations: 0 / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.274, allocations: 3.938 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/0.274, allocations: 7.938 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/weibullVariableGeneration.mo:2:1-37:30:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibullVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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 NFTyping.typeClassSections: time 0.0007137/0.2748, allocations: 95.7 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.368e-05/0.2749, allocations: 15.92 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.2749, allocations: 3.984 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.275, allocations: 8 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.275, allocations: 11.92 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.275, allocations: 4 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.2753, allocations: 95.84 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.2754, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.2754, allocations: 11.94 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.2757, allocations: 79.88 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.2757, allocations: 3.984 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2757, allocations: 7.938 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2757, allocations: 0 / 0.786 GB, free: 10.84 MB / 0.6075 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.0006159/0.2763, allocations: 339.5 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.2764, allocations: 16.03 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.2764, allocations: 0.9375 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2766, allocations: 168.3 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.2766, allocations: 4.375 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.2766, allocations: 384 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.2768, allocations: 46.17 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2768, allocations: 192 / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2768, allocations: 7.938 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2768, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.2769, allocations: 7.984 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.2771, allocations: 153.7 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.2772, allocations: 26.58 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.2772, allocations: 16.94 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.2773, allocations: 0 / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.2774, allocations: 55.34 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2774, allocations: 4 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002548/0.2777, allocations: 73.52 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2778, allocations: 59.34 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.2779, allocations: 97.84 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2779, allocations: 29.7 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.278, allocations: 84.14 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.278, allocations: 7.891 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.278, allocations: 21.72 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2782, allocations: 322.8 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.2782, allocations: 7.938 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.2783, allocations: 39.36 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.2783, allocations: 43.38 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2784, allocations: 4 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001085/0.2785, allocations: 65.62 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2785, allocations: 7.938 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2785, allocations: 4 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2785, allocations: 0 / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.2786, allocations: 11.98 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2786, allocations: 0 / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.2787, allocations: 4.422 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2787, allocations: 4.094 kB / 0.7877 GB, free: 8.887 MB / 0.6075 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.2788, allocations: 121.8 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.2788, allocations: 7.844 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.2789, allocations: 3.5 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2789, allocations: 3.984 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.2789, allocations: 7.984 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2789, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2791, allocations: 157.6 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2791, allocations: 0 / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.2791, allocations: 0 / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2791, allocations: 7.938 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2791, allocations: 4 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2791, allocations: 0 / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2791, allocations: 0 / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2793, allocations: 85.05 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.2793, allocations: 81.11 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2793, allocations: 3.938 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.2794, allocations: 4 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.2794, allocations: 7.984 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2794, allocations: 4 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.2795, allocations: 75.28 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2795, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000263/0.2797, allocations: 32 kB / 0.7883 GB, free: 8.188 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003513/0.2801, allocations: 162.8 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.2802, allocations: 32.11 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2802, allocations: 0 / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.2803, allocations: 12.09 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.2804, allocations: 3.062 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.2807, allocations: 112.8 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.281, allocations: 0.6846 MB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.281, allocations: 4.188 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.2811, allocations: 11.44 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2811, allocations: 0 / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.003891/0.285, allocations: 1.015 MB / 0.7902 GB, free: 6.109 MB / 0.6075 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)