Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.353/2.353, allocations: 248.5 MB / 261.1 MB, free: 6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 184 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.2 MB / 0.571 GB, free: 11.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 92.73 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.669e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2163, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9736/1.19, allocations: 131.6 MB / 1.019 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/1.19, allocations: 72.83 kB / 1.019 GB, free: 3.195 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98: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. Notification: Performance of FrontEnd - DAE generated: time 0.01286/1.203, allocations: 2.094 MB / 1.021 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.345e-06/1.203, allocations: 0 / 1.021 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.868e-06/1.203, allocations: 0 / 1.021 GB, free: 1.387 MB / 0.6355 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.0006374/1.204, allocations: 352.5 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/1.204, allocations: 12.03 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.011e-05/1.204, allocations: 38.48 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/1.204, allocations: 3.953 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/1.204, allocations: 167.1 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.204, allocations: 0 / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/1.204, allocations: 4 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/1.205, allocations: 41.06 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.205, allocations: 0 / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.205, allocations: 4 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.205, allocations: 7.984 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/1.205, allocations: 11.75 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/1.205, allocations: 247.9 kB / 1.022 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/1.206, allocations: 30.14 kB / 1.022 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/1.206, allocations: 20.3 kB / 1.022 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/1.206, allocations: 0 / 1.022 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/1.206, allocations: 62.36 kB / 1.022 GB, free: 268 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.776e-06/1.206, allocations: 0 / 1.022 GB, free: 268 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0003051/1.206, allocations: 64.64 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/1.206, allocations: 51.41 kB / 1.022 GB, free: 140 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/1.206, allocations: 92.44 kB / 1.022 GB, free: 44 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.206, allocations: 33.7 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/1.207, allocations: 84.12 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/1.207, allocations: 11.12 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.207, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002129/1.207, allocations: 318.3 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/1.207, allocations: 7.438 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/1.207, allocations: 34.92 kB / 1.023 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.723e-05/1.207, allocations: 16.12 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.207, allocations: 3.938 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002247/1.207, allocations: 76.03 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.207, allocations: 4 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.207, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.207, allocations: 4 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/1.208, allocations: 11.56 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/1.208, allocations: 11.95 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/1.208, allocations: 3.938 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/1.208, allocations: 7.938 kB / 1.023 GB, free: 15.41 MB / 0.6511 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.208, allocations: 111.5 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/1.208, allocations: 3.906 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/1.208, allocations: 3.562 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.208, allocations: 0 / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.208, allocations: 4 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.208, allocations: 3.953 kB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/1.209, allocations: 304.3 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/1.209, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/1.209, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/1.209, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.209, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.209, allocations: 128 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.209, allocations: 7.953 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/1.209, allocations: 157.3 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/1.209, allocations: 89.02 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/1.209, allocations: 3.812 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/1.209, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/1.209, allocations: 3.953 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/1.209, allocations: 7.984 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.844e-05/1.209, allocations: 75.28 kB / 1.024 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.41e-07/1.209, allocations: 3.938 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000691/1.21, allocations: 39.88 kB / 1.024 GB, free: 14.54 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/1.211, allocations: 0.7718 MB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000204/1.212, allocations: 34.67 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.212, allocations: 128 / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.155e-05/1.212, allocations: 23.36 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/1.212, allocations: 4.75 kB / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/1.213, allocations: 125.8 kB / 1.025 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/1.213, allocations: 0.6872 MB / 1.025 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.337e-05/1.213, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/1.213, allocations: 18.86 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/1.213, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/1.24, allocations: 1.914 MB / 1.027 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004418/1.241, allocations: 215.7 kB / 1.028 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.57, allocations: 3.938 kB / 1.028 GB, free: 10.85 MB / 0.6511 GB