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.001199/0.001199, allocations: 105.4 kB / 15.7 MB, free: 28 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.00124/0.001239, allocations: 193.9 kB / 16.64 MB, free: 6.453 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.726/1.726, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.002553/0.002553, allocations: 71.94 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2972, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002926/0.3002, allocations: 1.221 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.3012, allocations: 455.3 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.3013, allocations: 0 / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.3013, allocations: 3.938 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.3014, allocations: 0 / 0.7853 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/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.0006087/0.302, allocations: 123.5 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.3021, allocations: 19.92 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.3021, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.3021, allocations: 15.92 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.123e-05/0.3022, allocations: 7.938 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3022, allocations: 4 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.3024, allocations: 99.89 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.3025, allocations: 7.984 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.3025, allocations: 11.92 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3028, allocations: 99.75 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3028, allocations: 4 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3028, allocations: 4 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3028, 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.0006282/0.3034, allocations: 385.4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3035, allocations: 8.031 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.3036, allocations: 30.75 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3036, allocations: 8.844 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3038, allocations: 164.4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.3038, allocations: 4.375 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3038, allocations: 12.36 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.304, allocations: 42.23 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.304, allocations: 3.938 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.304, allocations: 0 / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.304, allocations: 3.938 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.3041, allocations: 11.94 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.3045, allocations: 248.9 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3047, allocations: 38.52 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.3047, allocations: 20.94 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3048, allocations: 0 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.3049, allocations: 59.34 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.305, allocations: 0 / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002273/0.3052, allocations: 77.77 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3052, allocations: 55.41 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.3053, allocations: 109.9 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3054, allocations: 29.64 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.3054, allocations: 88.14 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3054, allocations: 15.8 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.3055, allocations: 21.72 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3056, allocations: 310.8 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.3056, allocations: 15.92 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.3057, allocations: 35.44 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.3057, allocations: 51.36 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3057, allocations: 3.938 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001047/0.3059, allocations: 65.62 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3059, allocations: 16.98 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3059, allocations: 0 / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3059, allocations: 4 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.306, allocations: 4 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.306, allocations: 7.938 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.306, allocations: 0 / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.306, allocations: 4 kB / 0.7875 GB, free: 8.969 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.959e-05/0.3061, allocations: 120.6 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.3062, allocations: 4 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.3062, allocations: 19.94 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3062, allocations: 4 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3062, allocations: 0 / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3062, allocations: 0 / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.3066, allocations: 306.5 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3066, allocations: 0 / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.3066, allocations: 4 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3066, allocations: 3.938 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3066, allocations: 0 / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3066, allocations: 0 / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3066, allocations: 4 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.3068, allocations: 167.7 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.3069, allocations: 85.11 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3069, allocations: 4 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.307, allocations: 0 / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.307, allocations: 7.984 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.307, allocations: 0 / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.3071, allocations: 87.28 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3071, allocations: 0 / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003237/0.3074, allocations: 43.86 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.0009486/0.3084, allocations: 0.7704 MB / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.3085, allocations: 35.92 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3085, allocations: 0 / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.3086, allocations: 12 kB / 0.7891 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3088, allocations: 7.984 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3103, allocations: 1.295 MB / 0.7904 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3106, allocations: 0.6845 MB / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.3106, allocations: 0 / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.3107, allocations: 15.44 kB / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.3107, allocations: 0 / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.332, allocations: 2.09 MB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.723, allocations: 4.938 kB / 0.7931 GB, free: 3.062 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)