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.001477/0.001477, allocations: 107.8 kB / 16.29 MB, free: 6.43 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.00222/0.00222, allocations: 184 kB / 17.22 MB, free: 5.934 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.476/1.476, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.822/1.822, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.002355/0.002355, allocations: 63.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2749, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00302/0.2779, allocations: 1.212 MB / 0.7852 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.2789, allocations: 407.6 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.2789, allocations: 0 / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.2789, allocations: 3.938 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.279, allocations: 7.984 kB / 0.7856 GB, free: 2.215 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.0006414/0.2797, allocations: 99.58 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.2797, allocations: 15.94 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.2798, allocations: 3.984 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.2798, allocations: 4 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.881e-05/0.2799, allocations: 12 kB / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2799, allocations: 0 / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.2801, allocations: 103.8 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.2801, allocations: 0 / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.2802, allocations: 8 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.2803, allocations: 79.83 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2803, allocations: 0 / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2804, allocations: 4 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2804, allocations: 0 / 0.786 GB, free: 1.891 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.0004481/0.2808, allocations: 343.8 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2809, allocations: 12.03 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.2809, allocations: 4.844 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.281, allocations: 180.2 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.281, allocations: 4.375 kB / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.2811, allocations: 384 / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.2812, allocations: 38.19 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2812, allocations: 192 / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2812, allocations: 11.92 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2812, allocations: 0 / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.2812, allocations: 12 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.2814, allocations: 153.7 kB / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.2815, allocations: 26.58 kB / 0.7867 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.2815, allocations: 12.86 kB / 0.7867 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2815, allocations: 4.078 kB / 0.7867 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.2817, allocations: 59.34 kB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2817, allocations: 0 / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.2819, allocations: 69.61 kB / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.2819, allocations: 55.41 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.282, allocations: 97.86 kB / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.282, allocations: 25.7 kB / 0.787 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.2821, allocations: 91.97 kB / 0.7871 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2821, allocations: 11.84 kB / 0.7871 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2821, allocations: 25.72 kB / 0.7871 GB, free: 476 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2823, allocations: 314.8 kB / 0.7874 GB, free: 152 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.2823, allocations: 8 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.2823, allocations: 35.42 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/0.2824, allocations: 47.36 kB / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2824, allocations: 0 / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.4489/0.7313, allocations: 64.72 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.7314, allocations: 9.438 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.7315, allocations: 1.125 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.7315, allocations: 1.219 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.7316, allocations: 9.219 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7316, allocations: 2 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.7317, allocations: 5.562 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.7317, allocations: 2.531 kB / 0.7876 GB, free: 48.46 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 0.0001003/0.7318, allocations: 113.6 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.7318, allocations: 18.31 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.7319, allocations: 5.234 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.7319, allocations: 0 / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7319, allocations: 2.359 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7319, allocations: 0 / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.7321, allocations: 163.6 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7321, allocations: 0.6094 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.7321, allocations: 2.281 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7321, allocations: 0.7031 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.7321, allocations: 0.75 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7321, allocations: 2.688 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7321, allocations: 2.969 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.7323, allocations: 91.52 kB / 0.788 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.7323, allocations: 80.08 kB / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.7323, allocations: 4.781 kB / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.7324, allocations: 0.5625 kB / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.7324, allocations: 8.594 kB / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.7324, allocations: 2.812 kB / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.7324, allocations: 79.56 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7324, allocations: 0 / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003326/0.7328, allocations: 32.95 kB / 0.7882 GB, free: 47.92 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.0003708/0.7332, allocations: 144.6 kB / 0.7883 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.7333, allocations: 30.95 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.7333, allocations: 1.688 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/0.7334, allocations: 15.81 kB / 0.7884 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.0001567/0.7335, allocations: 6.656 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.7338, allocations: 102.1 kB / 0.7885 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.734, allocations: 0.6799 MB / 0.7892 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.734, allocations: 256 / 0.7892 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.734, allocations: 13.16 kB / 0.7892 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.734, allocations: 0 / 0.7892 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.003733/0.7378, allocations: 1.011 MB / 0.7902 GB, free: 47.02 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)