Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.186/2.186, allocations: 248.5 MB / 261 MB, free: 6.004 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.001495/0.001495, allocations: 189.9 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.1 MB / 0.571 GB, free: 11.8 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.001182/0.001181, allocations: 94.48 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.63e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8874/1.103, allocations: 131.7 MB / 1.019 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.104, allocations: 78.14 kB / 1.019 GB, free: 3.438 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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. Notification: Performance of FrontEnd - DAE generated: time 0.01032/1.114, allocations: 2.293 MB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/1.114, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.114, allocations: 0 / 1.022 GB, free: 1.469 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.0004943/1.115, allocations: 385.9 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.115, allocations: 8.031 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.595e-05/1.115, allocations: 38.55 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/1.115, allocations: 11.67 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/1.115, allocations: 163.1 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/1.115, allocations: 4 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/1.115, allocations: 4 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/1.115, allocations: 39.98 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/1.115, allocations: 0 / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/1.115, allocations: 4 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.115, allocations: 3.984 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/1.115, allocations: 15.83 kB / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/1.116, allocations: 247.9 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/1.116, allocations: 30.27 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/1.116, allocations: 20.12 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/1.116, allocations: 0 / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/1.116, allocations: 61.97 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/1.116, allocations: 4 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002153/1.116, allocations: 65.14 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.116, allocations: 55.39 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/1.116, allocations: 107.2 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.116, allocations: 25.7 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/1.116, allocations: 83.64 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.116, allocations: 15.66 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.116, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.117, allocations: 314.8 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/1.117, allocations: 14.81 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/1.117, allocations: 35.06 kB / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/1.117, allocations: 15.11 kB / 1.023 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.117, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001533/1.117, allocations: 68.34 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.117, allocations: 12.06 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.117, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.117, allocations: 3.938 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/1.117, allocations: 11.98 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.117, allocations: 11.89 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/1.117, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/1.117, allocations: 7.688 kB / 1.023 GB, free: 15.45 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 8.447e-05/1.117, allocations: 101 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/1.117, allocations: 7.906 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/1.117, allocations: 11.47 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.117, allocations: 96 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.117, allocations: 7.969 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.117, allocations: 7.953 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/1.118, allocations: 293.5 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.118, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/1.118, allocations: 7.984 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.118, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.118, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.118, allocations: 7.891 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.118, allocations: 4 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/1.118, allocations: 158.9 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/1.118, allocations: 85.02 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/1.118, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/1.118, allocations: 3.375 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/1.118, allocations: 8.391 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/1.118, allocations: 0 / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.92e-05/1.119, allocations: 95.2 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/1.119, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004352/1.119, allocations: 55.44 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.0009442/1.12, allocations: 0.7622 MB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000143/1.12, allocations: 38.8 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.12, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/1.12, allocations: 18.5 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.0001597/1.12, allocations: 7.938 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/1.121, allocations: 133.5 kB / 1.025 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/1.121, allocations: 0.6811 MB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.912e-05/1.121, allocations: 8.25 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/1.121, allocations: 14.81 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.121, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/1.141, allocations: 2.046 MB / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/1.141, allocations: 209.1 kB / 1.028 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.514, allocations: 4 kB / 1.028 GB, free: 10.67 MB / 0.6511 GB