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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001305, allocations: 109.4 kB / 15.69 MB, free: 128 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.001202/0.001202, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.861/1.861, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00157/0.00157, allocations: 77.08 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2758, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.003342/0.2792, allocations: 1.221 MB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2803, allocations: 403.5 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.2803, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.2804, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.2804, allocations: 3.984 kB / 0.7852 GB, free: 11.66 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.0006972/0.2811, allocations: 104.6 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.2812, allocations: 19.86 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.2813, allocations: 7.984 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.2813, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.2814, allocations: 7.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2814, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.2816, allocations: 91.89 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.2817, allocations: 8 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.2817, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2819, allocations: 91.75 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.2819, allocations: 4 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.554e-06/0.2819, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2819, allocations: 0 / 0.7855 GB, free: 11.33 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.0006468/0.2826, allocations: 351.7 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.2827, allocations: 11.97 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.651e-05/0.2827, allocations: 30.75 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2828, allocations: 12.86 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2829, allocations: 160.4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.283, allocations: 8.375 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.283, allocations: 4.375 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.2831, allocations: 38.25 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2831, allocations: 3.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2832, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2832, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.2832, allocations: 15.91 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.2836, allocations: 244.9 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.2837, allocations: 34.61 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.2838, allocations: 20.84 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2838, allocations: 0 / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.284, allocations: 63.33 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.284, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000214/0.2842, allocations: 73.69 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.2843, allocations: 51.41 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.2844, allocations: 101.8 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2844, allocations: 29.7 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.2844, allocations: 84.14 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.2845, allocations: 11.8 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.2845, allocations: 25.7 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2846, allocations: 314.8 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.2847, allocations: 8 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.2847, allocations: 43.59 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.175e-05/0.2848, allocations: 51.36 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.2848, allocations: 7.938 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001063/0.2849, allocations: 69.62 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2849, allocations: 8 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2849, allocations: 0 / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.285, allocations: 4 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.285, allocations: 11.98 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2851, allocations: 4 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.2851, allocations: 3.938 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2851, allocations: 7.938 kB / 0.7873 GB, free: 9.191 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.729e-05/0.2852, allocations: 122.4 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.2852, allocations: 7.969 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2852, allocations: 3.562 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2853, allocations: 4.219 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2853, allocations: 0 / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2853, allocations: 7.984 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.2855, allocations: 298.6 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2855, allocations: 4 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.2856, allocations: 3.938 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2856, allocations: 0 / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2856, allocations: 7.984 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2856, allocations: 4 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2856, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2857, allocations: 159.5 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.2858, allocations: 81.02 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2858, allocations: 7.984 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.2859, allocations: 0 / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.2859, allocations: 0 / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2859, allocations: 8.125 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.286, allocations: 83.28 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.286, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002683/0.2862, allocations: 35.92 kB / 0.7881 GB, free: 8.266 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008191/0.2871, allocations: 0.761 MB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2872, allocations: 39.86 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2872, allocations: 0 / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.2873, allocations: 12 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.2875, allocations: 10.42 kB / 0.789 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2888, allocations: 1.269 MB / 0.7902 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2891, allocations: 0.6768 MB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.2891, allocations: 7.984 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.2892, allocations: 11.44 kB / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2892, allocations: 0 / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.3075, allocations: 1.957 MB / 0.7928 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.966, allocations: 11.09 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)