Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.26/2.26, allocations: 248.5 MB / 261 MB, free: 6.008 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.001402/0.001401, allocations: 179.2 kB / 320.4 MB, free: 15.34 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.177/2.177, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001178/0.001177, allocations: 105.5 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.333e-05/4.364e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2184, allocations: 106.2 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9327/1.151, allocations: 131.7 MB / 1.019 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.152, allocations: 77.31 kB / 1.019 GB, free: 3.504 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.0105/1.162, allocations: 2.297 MB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.162, allocations: 0 / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.162, allocations: 0 / 1.022 GB, free: 1.527 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.0005408/1.163, allocations: 396.7 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.163, allocations: 8.031 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/1.163, allocations: 34.5 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/1.163, allocations: 11.86 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/1.163, allocations: 159.1 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/1.163, allocations: 11.92 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/1.163, allocations: 4 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/1.163, allocations: 41.31 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.163, allocations: 0 / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.163, allocations: 0 / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.163, allocations: 0 / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/1.163, allocations: 11.89 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/1.164, allocations: 247.5 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/1.164, allocations: 38 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/1.164, allocations: 16.48 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/1.164, allocations: 0 / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/1.164, allocations: 58.5 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.024e-06/1.164, allocations: 4 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002388/1.164, allocations: 69.44 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/1.164, allocations: 55.41 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/1.165, allocations: 96.66 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/1.165, allocations: 29.7 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/1.165, allocations: 84.08 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/1.165, allocations: 11.83 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/1.165, allocations: 7.938 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.165, allocations: 310.8 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/1.165, allocations: 11.69 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/1.165, allocations: 39.31 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/1.165, allocations: 11.92 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.165, allocations: 4 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001561/1.165, allocations: 77 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.165, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.165, allocations: 8.688 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.165, allocations: 3.938 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/1.165, allocations: 8 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.165, allocations: 7.891 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/1.166, allocations: 7.125 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.166, allocations: 2.188 kB / 1.023 GB, free: 15.51 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.0001049/1.166, allocations: 112.9 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/1.166, allocations: 3.906 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/1.166, allocations: 12.09 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.166, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.166, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/1.166, allocations: 7.891 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/1.166, allocations: 299.2 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.166, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/1.166, allocations: 4 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.166, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.166, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.166, allocations: 7.953 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.166, allocations: 4.156 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/1.167, allocations: 158.3 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/1.167, allocations: 85.02 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/1.167, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/1.167, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/1.167, allocations: 7.938 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/1.167, allocations: 4 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.643e-05/1.167, allocations: 82.59 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.167, allocations: 7.938 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004609/1.167, allocations: 55.23 kB / 1.024 GB, free: 14.6 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.001017/1.168, allocations: 0.7622 MB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001564/1.169, allocations: 43.42 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.169, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/1.169, allocations: 15.19 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/1.169, allocations: 11.89 kB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/1.169, allocations: 134.5 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/1.17, allocations: 0.6809 MB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.083e-05/1.17, allocations: 8.359 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/1.17, allocations: 15.06 kB / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.17, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/1.192, allocations: 2.042 MB / 1.028 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/1.192, allocations: 197.1 kB / 1.028 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.544, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.6511 GB