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.536/2.536, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001447/0.001448, allocations: 170.7 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001988/0.001988, allocations: 94.47 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.816e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.118, allocations: 131.9 MB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.118, allocations: 72.14 kB / 1.013 GB, free: 7.125 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.009074/1.128, allocations: 2.085 MB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.203e-06/1.128, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.251e-06/1.128, allocations: 0 / 1.015 GB, free: 5.352 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.0004587/1.128, allocations: 350.2 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.128, allocations: 12.02 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/1.128, allocations: 7.891 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.128, allocations: 163.1 kB / 1.016 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.128, allocations: 0 / 1.016 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/1.128, allocations: 0 / 1.016 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.524e-05/1.128, allocations: 7.562 kB / 1.016 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.092e-05/1.129, allocations: 33.69 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.129, allocations: 0 / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.129, allocations: 0 / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-06/1.129, allocations: 8 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/1.129, allocations: 134.1 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/1.129, allocations: 37.02 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/1.129, allocations: 12.84 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/1.129, allocations: 4 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/1.129, allocations: 55.25 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/1.129, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002338/1.129, allocations: 53.47 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/1.129, allocations: 55.41 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/1.13, allocations: 96.67 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.13, allocations: 29.7 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.522e-05/1.13, allocations: 80.14 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/1.13, allocations: 6.969 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/1.13, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.13, allocations: 326.8 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/1.13, allocations: 7.875 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/1.13, allocations: 28.34 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/1.13, allocations: 8 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.13, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001374/1.13, allocations: 65.23 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.13, allocations: 4 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.13, allocations: 160 / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.13, allocations: 4 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/1.13, allocations: 7.938 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.13, allocations: 7.984 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/1.13, allocations: 3.906 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/1.13, allocations: 7.938 kB / 1.017 GB, free: 3.598 MB / 0.6355 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.609e-05/1.131, allocations: 120.7 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001433/1.131, allocations: 57.61 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/1.131, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/1.131, allocations: 8.125 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.131, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.131, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.131, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/1.131, allocations: 137.7 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.131, allocations: 4.812 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/1.131, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.131, allocations: 8 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/1.131, allocations: 0 / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.131, allocations: 3.984 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.131, allocations: 2.375 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/1.131, allocations: 84.94 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/1.131, allocations: 77.11 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/1.131, allocations: 8.031 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/1.131, allocations: 3.984 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/1.131, allocations: 4 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/1.131, allocations: 4 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.545e-05/1.131, allocations: 79.03 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.131, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00038/1.132, allocations: 39.92 kB / 1.017 GB, free: 2.898 MB / 0.6355 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,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0008634/1.133, allocations: 0.6953 MB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001148/1.133, allocations: 23.69 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.133, allocations: 0 / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/1.133, allocations: 11.81 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/1.133, allocations: 10.67 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/1.134, allocations: 117.4 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/1.134, allocations: 0.6768 MB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.232e-05/1.134, allocations: 7.984 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/1.134, allocations: 7.438 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/1.134, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/1.174, allocations: 1.58 MB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/1.175, allocations: 197.2 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.494, allocations: 6.438 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB