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.00113/0.00113, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001214/0.001214, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.542/1.542, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.781/1.781, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001453/0.001453, allocations: 63.91 kB / 0.6721 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2588, allocations: 114.6 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00269/0.2615, allocations: 1.217 MB / 0.7852 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.2624, allocations: 411.6 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.2625, allocations: 0 / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.2625, allocations: 7.875 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.2626, allocations: 4 kB / 0.7856 GB, free: 2.254 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.000559/0.2631, allocations: 99.64 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.2632, allocations: 8 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.2633, allocations: 3.984 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.2633, allocations: 8 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.281e-05/0.2633, allocations: 15.86 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2634, allocations: 4 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.2636, allocations: 91.84 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.2636, allocations: 0 / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.2636, allocations: 15.92 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.2638, allocations: 79.89 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.2638, allocations: 3.984 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.726e-06/0.2638, allocations: 4 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2639, allocations: 0 / 0.7859 GB, free: 1.926 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.0005067/0.2644, allocations: 339.8 kB / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2644, allocations: 16.03 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.2645, allocations: 4.844 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2646, allocations: 168.3 kB / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2646, allocations: 4.375 kB / 0.7864 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2646, allocations: 384 / 0.7864 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2648, allocations: 42.19 kB / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2648, allocations: 192 / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2648, allocations: 7.938 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2648, allocations: 0 / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.2648, allocations: 7.984 kB / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.265, allocations: 153.7 kB / 0.7866 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.2651, allocations: 26.58 kB / 0.7867 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.2651, allocations: 20.88 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.2652, allocations: 0 / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.2653, allocations: 51.41 kB / 0.7867 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2653, allocations: 4 kB / 0.7867 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002046/0.2655, allocations: 69.61 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.2656, allocations: 55.41 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.2657, allocations: 101.8 kB / 0.7869 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2657, allocations: 29.7 kB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.2658, allocations: 92.03 kB / 0.7871 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.2658, allocations: 3.906 kB / 0.7871 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.2659, allocations: 21.72 kB / 0.7871 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.266, allocations: 322.8 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.266, allocations: 4 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.2661, allocations: 35.8 kB / 0.7874 GB, free: 148 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.967e-05/0.2661, allocations: 51.36 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2662, allocations: 0 / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.979e-05/0.2663, allocations: 65.62 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2663, allocations: 14.69 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4428/0.7091, allocations: 1.266 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.7092, allocations: 1.188 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.7093, allocations: 10.42 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7093, allocations: 1.344 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.7093, allocations: 2.609 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.7094, allocations: 2.75 kB / 0.7876 GB, free: 48.45 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 7.677e-05/0.7094, allocations: 113 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.7095, allocations: 9.031 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.7095, allocations: 10.12 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7095, allocations: 3.844 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7095, allocations: 0.75 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7095, allocations: 0 / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/0.7096, allocations: 156.9 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7096, allocations: 0 / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.7097, allocations: 6.625 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7097, allocations: 7.516 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.7097, allocations: 0 / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7097, allocations: 2.531 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7097, allocations: 1.75 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.7098, allocations: 88.55 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.7099, allocations: 82.47 kB / 0.788 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7099, allocations: 5.531 kB / 0.788 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.7099, allocations: 0 / 0.788 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.7099, allocations: 3.938 kB / 0.788 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.7099, allocations: 3.656 kB / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.302e-05/0.71, allocations: 79.09 kB / 0.7881 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.71, allocations: 0 / 0.7881 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003193/0.7103, allocations: 33.17 kB / 0.7882 GB, free: 47.91 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.0003152/0.7106, allocations: 149.5 kB / 0.7883 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.7107, allocations: 31.19 kB / 0.7883 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7108, allocations: 0.8438 kB / 0.7883 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.7108, allocations: 15.55 kB / 0.7883 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.711, allocations: 8.125 kB / 0.7884 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.7112, allocations: 134.3 kB / 0.7885 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.7113, allocations: 0.6776 MB / 0.7891 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.7113, allocations: 12.95 kB / 0.7892 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7113, allocations: 0 / 0.7892 GB, free: 47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002424/0.7137, allocations: 1.16 MB / 0.7903 GB, free: 46.96 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)