Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.00113/0.00113, 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.001298/0.001298, allocations: 184.7 kB / 16.62 MB, free: 6.613 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.465/1.465, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.776/1.776, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001634/0.001634, allocations: 69.75 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2807, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002936/0.2837, allocations: 1.229 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2849, allocations: 443.3 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.285, allocations: 3.938 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.285, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.2851, allocations: 3.938 kB / 0.7852 GB, free: 11.54 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/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' 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/binaryVariableGeneration.mo:11:3-11:96: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/weibull1DOFF.mo:2:1-36:17:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DOFF' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.2859, allocations: 119.6 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.387e-05/0.286, allocations: 19.92 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.2861, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.2861, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.786e-05/0.2862, allocations: 15.92 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2862, allocations: 3.984 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.2865, allocations: 103.8 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.2865, allocations: 7.938 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.2866, allocations: 11.92 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.2868, allocations: 95.81 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2868, allocations: 8 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2868, allocations: 0 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2869, allocations: 0 / 0.7856 GB, free: 11.15 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.0005489/0.2874, allocations: 385.4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2875, allocations: 8.031 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.2875, allocations: 38.73 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.2876, allocations: 4.844 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2877, allocations: 164.4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2877, allocations: 384 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2877, allocations: 12.38 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.2879, allocations: 42.17 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2879, allocations: 11.88 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2879, allocations: 4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2879, allocations: 0 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.2879, allocations: 4 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.2883, allocations: 248.9 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.809e-05/0.2884, allocations: 46.44 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.2885, allocations: 12.95 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2885, allocations: 7.984 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.2887, allocations: 51.41 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.2887, allocations: 0 / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002189/0.2889, allocations: 77.58 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2889, allocations: 63.34 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.289, allocations: 105.8 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2891, allocations: 25.7 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.2891, allocations: 88.08 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.2892, allocations: 11.81 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.2892, allocations: 25.7 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2894, allocations: 310.8 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.2894, allocations: 16 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.2895, allocations: 39.41 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.2896, allocations: 55.34 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2896, allocations: 3.938 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001142/0.2897, allocations: 69.66 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2897, allocations: 4 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2897, allocations: 4 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2898, allocations: 0 / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.2898, allocations: 15.92 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2898, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.2899, allocations: 4 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.2899, allocations: 0 / 0.7875 GB, free: 8.965 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.759e-05/0.29, allocations: 117.8 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.29, allocations: 7.906 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.2901, allocations: 12 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2901, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2901, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2901, allocations: 3.984 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.2904, allocations: 299.1 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2904, allocations: 4 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.2904, allocations: 11.92 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2904, allocations: 0 / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2904, allocations: 4 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2904, allocations: 4 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2904, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.2906, allocations: 163.4 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2907, allocations: 85.03 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2907, allocations: 4 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.2907, allocations: 3.938 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.2908, allocations: 0 / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.2908, allocations: 4 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.2908, allocations: 91.27 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2908, allocations: 3.938 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002843/0.2911, allocations: 35.94 kB / 0.7883 GB, free: 8.023 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.0006941/0.2918, allocations: 0.7738 MB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.292, allocations: 35.92 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.292, allocations: 0 / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.292, allocations: 19.94 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2922, allocations: 0 / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2934, allocations: 1.3 MB / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.2936, allocations: 0.6807 MB / 0.7911 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.2936, allocations: 4 kB / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.2937, allocations: 11.42 kB / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2937, allocations: 0 / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.3093, allocations: 2.08 MB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.795, allocations: 8.906 kB / 0.7931 GB, free: 3.074 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)