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.001389/0.001389, allocations: 105 kB / 16.36 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001532, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002401/0.002401, allocations: 83.02 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2584, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002596/0.2611, allocations: 1.21 MB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.262, allocations: 407.5 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.262, allocations: 0 / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.262, allocations: 0 / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.2621, allocations: 0 / 0.7863 GB, free: 1.539 MB / 0.6544 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.0005637/0.2626, allocations: 107.6 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.2627, allocations: 15.92 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.2628, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.2628, allocations: 15.94 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.2628, allocations: 7.984 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2628, allocations: 0 / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.263, allocations: 95.84 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2631, allocations: 11.92 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.2631, allocations: 3.984 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.2633, allocations: 83.83 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2633, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.057e-06/0.2633, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.2633, allocations: 3.938 kB / 0.7867 GB, free: 1.199 MB / 0.6544 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.0004614/0.2638, allocations: 347.6 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2638, allocations: 8.031 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.2639, allocations: 8.844 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.264, allocations: 164.3 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.264, allocations: 4.312 kB / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.264, allocations: 4.375 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.632e-05/0.2641, allocations: 38.25 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2641, allocations: 192 / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2641, allocations: 7.922 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2641, allocations: 4 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.2642, allocations: 4 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.2643, allocations: 157.7 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.2644, allocations: 34.55 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.2644, allocations: 8.859 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.2645, allocations: 0 / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.2646, allocations: 59.5 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2646, allocations: 0 / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001945/0.2648, allocations: 81.53 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2649, allocations: 51.41 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3723/0.6372, allocations: 97.12 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6372, allocations: 26.7 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.6373, allocations: 85.08 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.6373, allocations: 6.562 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.6373, allocations: 22.12 kB / 0.7878 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.6374, allocations: 318.2 kB / 0.7881 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.6374, allocations: 6.969 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.6375, allocations: 35.69 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/0.6375, allocations: 47.27 kB / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6375, allocations: 0 / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.6377, allocations: 69.64 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6377, allocations: 10.28 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6377, allocations: 0.5625 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6377, allocations: 2.75 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.6378, allocations: 14.31 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6378, allocations: 0 / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.6379, allocations: 3.062 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.6379, allocations: 6.469 kB / 0.7883 GB, free: 48.23 MB / 0.6544 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 6.07e-05/0.6379, allocations: 109.8 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.638, allocations: 5.375 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.638, allocations: 14.78 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.638, allocations: 7.125 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.638, allocations: 7.016 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.638, allocations: 0 / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.136e-05/0.6381, allocations: 156.1 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6381, allocations: 4.906 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.6382, allocations: 0 / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6382, allocations: 2.016 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.6382, allocations: 2.875 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6382, allocations: 3.938 kB / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6382, allocations: 0 / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.981e-05/0.6383, allocations: 84.12 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.6383, allocations: 80.08 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.6383, allocations: 1.375 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.6384, allocations: 6.625 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.6384, allocations: 6.266 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.6384, allocations: 0 / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.185e-05/0.6384, allocations: 82.27 kB / 0.7889 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.11e-07/0.6384, allocations: 0 / 0.7889 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002813/0.6387, allocations: 32.95 kB / 0.7889 GB, free: 47.68 MB / 0.6544 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.0003116/0.639, allocations: 158 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.6392, allocations: 28.41 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6392, allocations: 3.125 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.6392, allocations: 18.83 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.6394, allocations: 0.5312 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.6396, allocations: 105.6 kB / 0.7892 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.6397, allocations: 0.6759 MB / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.6398, allocations: 3.719 kB / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.6398, allocations: 15.38 kB / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6398, allocations: 0 / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.003524/0.6433, allocations: 1.002 MB / 0.7909 GB, free: 46.77 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)