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.001626/0.001626, allocations: 109.4 kB / 15.69 MB, free: 128 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.0021/0.0021, allocations: 185.4 kB / 16.62 MB, free: 6.582 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.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.838/1.838, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001776/0.001776, allocations: 72.02 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2569, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.003295/0.2603, allocations: 1.224 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2615, allocations: 443.4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2615, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.2616, allocations: 11.88 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.2616, allocations: 0 / 0.7852 GB, free: 11.6 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.0007682/0.2624, allocations: 115.6 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.2625, allocations: 19.92 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.2626, allocations: 4 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.2626, allocations: 11.92 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.2627, allocations: 15.92 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2627, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.263, allocations: 99.89 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.263, allocations: 15.92 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2631, allocations: 7.938 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2633, allocations: 111.7 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2633, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2634, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2634, allocations: 0 / 0.7856 GB, free: 11.2 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.0006243/0.264, allocations: 381.4 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2641, allocations: 8.031 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.2641, allocations: 38.75 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.2642, allocations: 4.844 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2643, allocations: 168.4 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.2644, allocations: 4.359 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2644, allocations: 12.36 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2646, allocations: 34.25 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2646, allocations: 3.938 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2646, allocations: 4 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2646, allocations: 0 / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.2647, allocations: 11.94 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.2651, allocations: 252.9 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2652, allocations: 34.52 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.2653, allocations: 16.94 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.2653, allocations: 4 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2656, allocations: 63.33 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.2656, allocations: 0 / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000278/0.2659, allocations: 73.59 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.2659, allocations: 55.41 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.266, allocations: 105.8 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2661, allocations: 25.7 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.2661, allocations: 84.14 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2662, allocations: 23.73 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.2662, allocations: 17.72 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2664, allocations: 314.8 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.2664, allocations: 23.91 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.2665, allocations: 35.42 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.894e-05/0.2666, allocations: 47.38 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2666, allocations: 7.938 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001549/0.2668, allocations: 69.61 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2668, allocations: 4 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2668, allocations: 7.938 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2669, allocations: 0 / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.267, allocations: 8.5 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.267, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.267, allocations: 7.938 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.267, allocations: 4.094 kB / 0.7875 GB, free: 9.02 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.836e-05/0.2672, allocations: 117.8 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.2672, allocations: 15.88 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.2672, allocations: 11.97 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2672, allocations: 0 / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2672, allocations: 0 / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2673, allocations: 0 / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.2676, allocations: 298.6 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2676, allocations: 3.938 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.2676, allocations: 4 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2677, allocations: 4 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2677, allocations: 4 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2677, allocations: 0 / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2677, allocations: 0 / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2679, allocations: 167.4 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.2679, allocations: 81.05 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.268, allocations: 4 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.2681, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.2681, allocations: 7.984 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2681, allocations: 4 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.2682, allocations: 83.28 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.314e-06/0.2682, allocations: 0 / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000509/0.2687, allocations: 43.86 kB / 0.7883 GB, free: 8.082 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.0009585/0.2697, allocations: 0.7723 MB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.2699, allocations: 35.92 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2699, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.302e-05/0.2699, allocations: 16 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2703, allocations: 3.984 kB / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2719, allocations: 1.296 MB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.2722, allocations: 0.6807 MB / 0.791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.773e-05/0.2723, allocations: 4 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.2723, allocations: 11.44 kB / 0.7911 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2723, allocations: 4 kB / 0.7911 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.295, allocations: 2.086 MB / 0.7931 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.378, allocations: 11.62 kB / 0.7931 GB, free: 3.125 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)