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.001204/0.001204, 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.001301/0.001301, 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.401/1.401, 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.824/1.824, 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.001445/0.001445, allocations: 67.48 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.003195/0.2403, allocations: 1.229 MB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2414, allocations: 447.4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.2415, allocations: 3.938 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.2415, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.2416, allocations: 3.938 kB / 0.7851 GB, free: 11.69 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.0006763/0.2423, allocations: 116.5 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.2423, allocations: 19.92 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.2424, allocations: 3.984 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.701e-05/0.2424, allocations: 11.98 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.2425, allocations: 7.938 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2425, allocations: 4 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.2427, allocations: 103.8 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.2428, allocations: 7.938 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.2428, allocations: 11.92 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.243, allocations: 99.81 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.243, allocations: 4 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.243, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.2431, allocations: 0 / 0.7855 GB, free: 11.31 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.0004764/0.2435, allocations: 385.4 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2436, allocations: 12.02 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.2436, allocations: 30.75 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.2437, allocations: 8.844 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2438, allocations: 164.3 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2438, allocations: 12.38 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2439, allocations: 384 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.244, allocations: 42.23 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.244, allocations: 3.938 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.244, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.244, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.643e-05/0.2441, allocations: 8 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.2444, allocations: 244.9 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.2445, allocations: 46.44 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.2446, allocations: 20.94 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.2446, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.2448, allocations: 59.41 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.2448, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002173/0.245, allocations: 85.52 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.245, allocations: 55.39 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.2451, allocations: 105.8 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2451, allocations: 29.7 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.2452, allocations: 88.08 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.2452, allocations: 11.81 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.2453, allocations: 25.7 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2454, allocations: 310.8 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.2454, allocations: 15.98 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.2454, allocations: 35.38 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/0.2455, allocations: 55.34 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2455, allocations: 3.938 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001177/0.2456, allocations: 77.56 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2457, allocations: 4 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2457, allocations: 0 / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2457, allocations: 4 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.2458, allocations: 7.984 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2458, allocations: 4 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.2458, allocations: 4 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2458, allocations: 4 kB / 0.7873 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 9.198e-05/0.2459, allocations: 113.8 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.246, allocations: 7.969 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.246, allocations: 11.95 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.246, allocations: 4 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.246, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.246, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.2464, allocations: 303.1 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2464, allocations: 0 / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.2464, allocations: 4 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2464, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2464, allocations: 4 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2464, allocations: 4 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2464, allocations: 0 / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.2466, allocations: 171.3 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.2467, allocations: 85.05 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2467, allocations: 0 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.2468, allocations: 0 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.2468, allocations: 8 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2468, allocations: 3.984 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.2469, allocations: 83.28 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2469, allocations: 3.938 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003095/0.2472, allocations: 39.92 kB / 0.7882 GB, free: 8.184 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.0007431/0.2479, allocations: 0.7847 MB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2481, allocations: 32.23 kB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2481, allocations: 0 / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.2482, allocations: 16 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2484, allocations: 4 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2495, allocations: 1.288 MB / 0.7902 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2498, allocations: 0.6768 MB / 0.7909 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.2498, allocations: 4 kB / 0.7909 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.2498, allocations: 15.42 kB / 0.7909 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2498, allocations: 8 kB / 0.7909 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.2705, allocations: 2.06 MB / 0.7929 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.112, allocations: 15.22 kB / 0.7929 GB, free: 3.23 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)