Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008791/0.0008792, allocations: 84.31 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.315e-05, allocations: 0 / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9426/0.9427, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/1.16, allocations: 137.4 MB / 1.099 GB, free: 2.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.16, allocations: 68.89 kB / 1.099 GB, free: 2.227 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.006055/1.166, allocations: 2.084 MB / 1.101 GB, free: 188 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/1.167, allocations: 0 / 1.101 GB, free: 188 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.167, allocations: 0 / 1.101 GB, free: 188 kB / 0.698 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.0004557/1.167, allocations: 351.8 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.167, allocations: 8.031 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/1.167, allocations: 5.031 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.167, allocations: 166.9 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.167, allocations: 4.766 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/1.167, allocations: 7 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.554e-05/1.167, allocations: 4.594 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/1.167, allocations: 42.31 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/1.167, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/1.168, allocations: 0.6875 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/1.168, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/1.168, allocations: 138.8 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.085e-05/1.168, allocations: 22.67 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/1.168, allocations: 16.86 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/1.168, allocations: 0.5 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/1.168, allocations: 61.69 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.168, allocations: 0.6562 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002144/1.168, allocations: 54.77 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.168, allocations: 52.12 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/1.168, allocations: 93.53 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/1.168, allocations: 26.45 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/1.168, allocations: 87.69 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/1.168, allocations: 4.875 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.168, allocations: 4 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.169, allocations: 315.4 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/1.169, allocations: 4.688 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/1.169, allocations: 28.25 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/1.169, allocations: 21.73 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.169, allocations: 3.938 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.978e-05/1.169, allocations: 63.12 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.169, allocations: 4 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.169, allocations: 5.109 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.169, allocations: 3.984 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/1.169, allocations: 15.98 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/1.169, allocations: 0.5938 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/1.169, allocations: 0.5312 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/1.169, allocations: 5.719 kB / 1.102 GB, free: 14.41 MB / 0.7136 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 7.672e-05/1.169, allocations: 106.3 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001126/1.169, allocations: 61.58 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/1.169, allocations: 8.562 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/1.169, allocations: 12.61 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.169, allocations: 0 / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.169, allocations: 1.062 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.169, allocations: 0 / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/1.169, allocations: 134.2 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.169, allocations: 4.641 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/1.169, allocations: 7.875 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.169, allocations: 0 / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/1.169, allocations: 0 / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.169, allocations: 2.094 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.169, allocations: 0 / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/1.17, allocations: 89.05 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/1.17, allocations: 85.16 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/1.17, allocations: 0 / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/1.17, allocations: 0 / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/1.17, allocations: 4 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/1.17, allocations: 3.984 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.883e-05/1.17, allocations: 79.28 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.17, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002702/1.17, allocations: 41.25 kB / 1.103 GB, free: 13.7 MB / 0.7136 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.0007297/1.171, allocations: 0.7044 MB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.714e-05/1.171, allocations: 27.92 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.171, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/1.171, allocations: 12.19 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.778e-05/1.171, allocations: 5.5 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/1.171, allocations: 115.9 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/1.172, allocations: 0.6807 MB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.501e-05/1.172, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/1.172, allocations: 15.44 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.172, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/1.192, allocations: 1.573 MB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.192, allocations: 193.3 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/2.635, allocations: 1.125 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)