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.525/2.525, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002479/0.002479, allocations: 176.7 kB / 325.5 MB, free: 2.91 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.44/2.44, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001163/0.001163, allocations: 101 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 12.66 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2282, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.458, allocations: 131.7 MB / 1.027 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.4583, allocations: 75.95 kB / 1.027 GB, free: 13.56 MB / 0.6823 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.009096/0.4675, allocations: 2.108 MB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4675, allocations: 4 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4675, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 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.0004697/0.468, allocations: 355.2 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4681, allocations: 12.03 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.4681, allocations: 38.56 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.4682, allocations: 3.953 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.4683, allocations: 167.1 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4683, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4684, allocations: 4 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4685, allocations: 37.69 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4685, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4685, allocations: 3.984 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4686, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.4686, allocations: 11.92 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.469, allocations: 257.7 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.4691, allocations: 30.58 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.4692, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.4693, allocations: 67.42 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.4693, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002697/0.4696, allocations: 73.67 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4697, allocations: 55.36 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.4698, allocations: 93 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4698, allocations: 25.7 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.4699, allocations: 80.14 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.4699, allocations: 23.73 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.4699, allocations: 0 / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4701, allocations: 314.8 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.4701, allocations: 8 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.4702, allocations: 39.36 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.4702, allocations: 12 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4703, allocations: 0 / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001557/0.4704, allocations: 73.61 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4705, allocations: 8 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4705, allocations: 0 / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4705, allocations: 0 / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.4706, allocations: 11.94 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.4706, allocations: 4 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.4707, allocations: 11.8 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4707, allocations: 4.25 kB / 1.031 GB, free: 9.418 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.4708, allocations: 121.8 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.4709, allocations: 4.062 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.4709, allocations: 7.562 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4709, allocations: 4 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4709, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4709, allocations: 4 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.4713, allocations: 302.5 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4713, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.4713, allocations: 4 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4714, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4714, allocations: 8.281 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4714, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4714, allocations: 3.953 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.4716, allocations: 159.5 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.4717, allocations: 85 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4717, allocations: 0 / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.4718, allocations: 7.938 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.4718, allocations: 7.984 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4718, allocations: 7.953 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.4719, allocations: 79.28 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.016e-06/0.4719, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004264/0.4723, allocations: 43.94 kB / 1.032 GB, free: 8.484 MB / 0.6823 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 (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.0009809/0.4733, allocations: 0.7826 MB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.4735, allocations: 31.92 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4735, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.4736, allocations: 15.94 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.4738, allocations: 1.891 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/0.4747, allocations: 0.8054 MB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.475, allocations: 0.6863 MB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.4751, allocations: 4.25 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.4751, allocations: 11.42 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/0.4751, allocations: 0 / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.4992, allocations: 1.904 MB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/0.4996, allocations: 239.8 kB / 1.036 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.794, allocations: 0 / 1.036 GB, free: 4.074 MB / 0.6823 GB