Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.0009602/0.0009602, 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.001062/0.001063, allocations: 196.4 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.34/1.34, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.685/1.685, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001391/0.001391, allocations: 72.78 kB / 0.6716 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2021, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002273/0.2045, allocations: 1.229 MB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.2053, allocations: 443.4 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.2053, allocations: 3.938 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.2054, allocations: 4 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.155e-05/0.2054, allocations: 7.938 kB / 0.7851 GB, free: 11.71 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/weibull1DON.mo:2:1-36:16:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DON' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.2059, allocations: 107.6 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.206, allocations: 27.91 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.2061, allocations: 0 / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.2061, allocations: 11.98 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.008e-05/0.2061, allocations: 7.938 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.2061, allocations: 0 / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.2064, allocations: 107.8 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.2064, allocations: 7.938 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.2064, allocations: 19.92 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2066, allocations: 95.81 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2066, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2067, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2067, allocations: 3.984 kB / 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.0004867/0.2072, allocations: 381.4 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2072, allocations: 12.03 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.2073, allocations: 34.75 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2073, allocations: 4.844 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2074, allocations: 168.4 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2075, allocations: 384 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2075, allocations: 8.312 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2076, allocations: 46.23 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2076, allocations: 3.938 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2076, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2076, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.2077, allocations: 4 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.208, allocations: 256.9 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.705e-05/0.2081, allocations: 42.44 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.2081, allocations: 24.92 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.2082, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.2083, allocations: 55.41 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2083, allocations: 0 / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002192/0.2086, allocations: 85.52 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2086, allocations: 55.34 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.2087, allocations: 105.8 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2087, allocations: 25.7 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.2088, allocations: 88.08 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2088, allocations: 11.81 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.2088, allocations: 21.7 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.2089, allocations: 322.8 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.209, allocations: 7.984 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.209, allocations: 31.44 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.2091, allocations: 51.36 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2091, allocations: 7.938 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.848e-05/0.2092, allocations: 69.62 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2092, allocations: 8 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2092, allocations: 0 / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2092, allocations: 4.484 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.2093, allocations: 11.94 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2093, allocations: 0 / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.2094, allocations: 4 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2094, allocations: 8 kB / 0.7873 GB, free: 9.145 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.906e-05/0.2095, allocations: 117.8 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.2095, allocations: 7.906 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.2095, allocations: 7.953 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2095, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2095, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2095, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.2098, allocations: 306.5 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2098, allocations: 4 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.2098, allocations: 0 / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2098, allocations: 4 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2098, allocations: 4 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2098, allocations: 0 / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2098, allocations: 0 / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.21, allocations: 171.3 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.21, allocations: 81.05 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.21, allocations: 4 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.2101, allocations: 0 / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.2101, allocations: 4 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2101, allocations: 7.984 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.428e-05/0.2102, allocations: 87.22 kB / 0.7881 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2102, allocations: 3.938 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002954/0.2105, allocations: 35.92 kB / 0.7882 GB, free: 8.211 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.000609/0.2111, allocations: 0.7773 MB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.2112, allocations: 39.92 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2112, allocations: 0 / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.2113, allocations: 15.92 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.2115, allocations: 7.984 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009949/0.2125, allocations: 1.283 MB / 0.7902 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.2127, allocations: 0.6807 MB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.2127, allocations: 8 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.2128, allocations: 15.42 kB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2128, allocations: 0 / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.2295, allocations: 2.058 MB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.319, allocations: 18.34 kB / 0.7929 GB, free: 3.258 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)