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.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 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.001067/0.001067, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.731/1.731, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001966/0.001966, allocations: 75.06 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2052, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002164/0.2074, allocations: 1.221 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.2082, allocations: 455.3 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.2083, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.2083, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.232e-05/0.2083, allocations: 3.938 kB / 0.7851 GB, free: 11.7 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.0005185/0.2089, allocations: 107.6 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.2089, allocations: 23.92 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.209, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.209, allocations: 4 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.2091, allocations: 19.91 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2091, allocations: 8 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.2093, allocations: 103.8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.2093, allocations: 7.938 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.2093, allocations: 11.92 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.2095, allocations: 99.81 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2095, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2095, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2096, allocations: 0 / 0.7855 GB, free: 11.32 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.0004421/0.21, allocations: 381.4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.21, allocations: 16.03 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.2101, allocations: 34.73 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.2101, allocations: 12.84 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.85e-05/0.2102, allocations: 160.4 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2103, allocations: 12.3 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.2103, allocations: 4.375 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2104, allocations: 42.23 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2104, allocations: 3.938 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.2104, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2104, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.315e-05/0.2105, allocations: 12 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.2108, allocations: 244.9 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.731e-05/0.2109, allocations: 42.44 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.2109, allocations: 20.94 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2109, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.2111, allocations: 55.41 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.2111, allocations: 4 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002112/0.2113, allocations: 81.52 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2113, allocations: 51.41 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.2114, allocations: 109.8 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2114, allocations: 29.7 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.2115, allocations: 80.14 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2115, allocations: 19.81 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.2115, allocations: 25.69 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.2117, allocations: 314.8 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.2117, allocations: 15.92 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.2117, allocations: 31.44 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.429e-05/0.2118, allocations: 55.36 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2118, allocations: 3.938 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001039/0.2119, allocations: 65.62 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2119, allocations: 8 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2119, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.212, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.212, allocations: 16.02 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.212, allocations: 4 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.2121, allocations: 8.562 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2121, allocations: 7.984 kB / 0.7874 GB, free: 9.117 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 6.785e-05/0.2122, allocations: 109.8 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.2122, allocations: 7.906 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.2122, allocations: 11.95 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2122, allocations: 0 / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2122, allocations: 8 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2122, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.2125, allocations: 306.5 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2125, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.2125, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2125, allocations: 4 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2125, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2125, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2125, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.2127, allocations: 171.3 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.2127, allocations: 89.05 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2128, allocations: 0 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.2128, allocations: 0 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2128, allocations: 4 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2129, allocations: 11.92 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.2129, allocations: 79.28 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2129, allocations: 0 / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002871/0.2132, allocations: 39.92 kB / 0.7882 GB, free: 8.188 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.0006749/0.2139, allocations: 0.775 MB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.214, allocations: 31.92 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.214, allocations: 0 / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.2141, allocations: 16.06 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2143, allocations: 8 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2153, allocations: 1.284 MB / 0.7902 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2155, allocations: 0.6846 MB / 0.7909 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.2156, allocations: 4 kB / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.2156, allocations: 15.42 kB / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2156, allocations: 0 / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.2341, allocations: 2.067 MB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.679, allocations: 22.58 kB / 0.7929 GB, free: 3.234 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)