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.001106/0.001106, allocations: 108 kB / 15.6 MB, free: 132 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.001491/0.001491, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.477/1.477, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.71/1.71, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001461/0.001461, allocations: 68.17 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2254, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002438/0.2279, allocations: 1.233 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.2288, allocations: 443.4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.2289, allocations: 3.938 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.2289, allocations: 0 / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.229, allocations: 3.938 kB / 0.7851 GB, free: 11.67 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.0006824/0.2297, allocations: 115.6 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.2297, allocations: 19.92 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.2298, allocations: 4 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.2298, allocations: 4 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.2299, allocations: 15.92 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.2299, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2301, allocations: 107.8 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.2301, allocations: 7.938 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.2302, allocations: 11.92 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2304, allocations: 95.81 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2304, allocations: 4 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2304, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2304, allocations: 0 / 0.7855 GB, free: 11.29 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.0004962/0.2309, allocations: 389.4 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.231, allocations: 8.031 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.231, allocations: 34.73 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.2311, allocations: 8.844 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2312, allocations: 160.4 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.2312, allocations: 8.375 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2312, allocations: 8.312 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2313, allocations: 46.22 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2314, allocations: 3.938 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2314, allocations: 0 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.2314, allocations: 0 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.2314, allocations: 12 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.2317, allocations: 244.9 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.632e-05/0.2319, allocations: 46.44 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.2319, allocations: 20.94 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.2319, allocations: 0 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.2321, allocations: 55.41 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.2321, allocations: 0 / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002075/0.2323, allocations: 85.52 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2323, allocations: 51.41 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.2324, allocations: 105.8 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2324, allocations: 29.7 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.2325, allocations: 88.08 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.2325, allocations: 7.812 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.2325, allocations: 29.7 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.2326, allocations: 310.8 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.2327, allocations: 19.98 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.2327, allocations: 35.38 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.2328, allocations: 47.36 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2328, allocations: 3.938 kB / 0.7872 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.932e-05/0.2329, allocations: 73.62 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2329, allocations: 4 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2329, allocations: 0 / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2329, allocations: 4 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.233, allocations: 15.92 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.233, allocations: 0 / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.233, allocations: 0 / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2331, allocations: 4 kB / 0.7873 GB, free: 9.105 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.431e-05/0.2331, allocations: 117.8 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.2332, allocations: 7.969 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.2332, allocations: 12.06 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2332, allocations: 7.969 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.2332, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2332, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.2334, allocations: 303 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2335, allocations: 3.984 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.2335, allocations: 8.062 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2335, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2335, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2335, allocations: 4 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2335, allocations: 0 / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2337, allocations: 175.3 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.2337, allocations: 81.05 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2337, allocations: 0 / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.2338, allocations: 0 / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.2338, allocations: 4 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2338, allocations: 0 / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.2339, allocations: 91.27 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2339, allocations: 3.938 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002851/0.2341, allocations: 43.92 kB / 0.7882 GB, free: 8.156 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.0007026/0.2349, allocations: 0.7629 MB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.235, allocations: 39.92 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.235, allocations: 0 / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.2351, allocations: 19.94 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2353, allocations: 0 / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2364, allocations: 1.289 MB / 0.7902 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2366, allocations: 0.6768 MB / 0.7909 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.2366, allocations: 4 kB / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.2367, allocations: 15.44 kB / 0.7909 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2367, allocations: 4 kB / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.256, allocations: 2.073 MB / 0.7929 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.115, allocations: 14.5 kB / 0.7929 GB, free: 3.207 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)