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.001419/0.001419, 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.00165/0.00165, allocations: 194.2 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.398/1.398, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.669/1.669, 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.001424/0.001424, allocations: 78.44 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2008, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002206/0.203, allocations: 1.216 MB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008261/0.2039, allocations: 403.5 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.2039, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.2039, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.204, allocations: 0 / 0.785 GB, free: 11.77 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.0005836/0.2046, allocations: 111.6 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.2047, allocations: 15.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2047, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.2047, allocations: 11.98 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.2048, allocations: 11.88 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.2048, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.205, allocations: 91.91 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.205, allocations: 7.969 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.205, allocations: 11.94 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2052, allocations: 75.89 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2052, allocations: 3.938 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2052, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2053, allocations: 0 / 0.7854 GB, free: 11.43 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.0004718/0.2057, allocations: 355.6 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2058, allocations: 8.031 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.2058, allocations: 30.75 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2059, allocations: 4.938 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.206, allocations: 164.4 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.206, allocations: 4.375 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.206, allocations: 8.375 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.2061, allocations: 38.25 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2061, allocations: 3.938 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2062, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.2062, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.2062, allocations: 11.94 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.2065, allocations: 252.9 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.2066, allocations: 38.52 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.2067, allocations: 20.92 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2067, allocations: 4 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.2069, allocations: 59.33 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2069, allocations: 0 / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001926/0.2071, allocations: 73.67 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.2071, allocations: 55.41 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.2072, allocations: 101.8 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2072, allocations: 33.64 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.2072, allocations: 80.14 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.2073, allocations: 11.81 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.2073, allocations: 21.72 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.2074, allocations: 318.8 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.2074, allocations: 8 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.2075, allocations: 43.36 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.037e-05/0.2076, allocations: 39.44 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2076, allocations: 7.875 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001399/0.2077, allocations: 73.67 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2077, allocations: 10.66 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2077, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2078, allocations: 4 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.2078, allocations: 8 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2078, allocations: 3.938 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.2079, allocations: 11.92 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2079, allocations: 4 kB / 0.7872 GB, free: 9.297 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 7.569e-05/0.208, allocations: 118.4 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.208, allocations: 7.906 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.208, allocations: 7.562 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.208, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.208, allocations: 4 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.208, allocations: 0 / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.2083, allocations: 298.6 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2083, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.2083, allocations: 3.938 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2083, allocations: 4 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.2083, allocations: 4.312 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2083, allocations: 8 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2083, allocations: 0 / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2085, allocations: 159.8 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.2085, allocations: 85.02 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2085, allocations: 7.984 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.2086, allocations: 0 / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.2086, allocations: 3.984 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2086, allocations: 4 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.2087, allocations: 79.28 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2087, allocations: 0 / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002701/0.2089, allocations: 43.86 kB / 0.788 GB, free: 8.371 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.0006568/0.2096, allocations: 0.7581 MB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.2097, allocations: 35.92 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2098, allocations: 4 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.2098, allocations: 11.94 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.21, allocations: 6.969 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2111, allocations: 1.265 MB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2114, allocations: 0.6768 MB / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.2114, allocations: 7.938 kB / 0.7907 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.2115, allocations: 7.438 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2115, allocations: 0 / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.229, allocations: 1.937 MB / 0.7926 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.437, allocations: 30.91 kB / 0.7926 GB, free: 3.621 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)