Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.565/2.565, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001481/0.001481, allocations: 176.9 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001077/0.001077, allocations: 100.6 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.656e-05, allocations: 0 / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9002, allocations: 115.3 MB / 0.9634 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/1.14, allocations: 137.3 MB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.14, allocations: 79.7 kB / 1.098 GB, free: 3.094 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.009589/1.15, allocations: 2.075 MB / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/1.15, allocations: 4 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.15, allocations: 0.625 kB / 1.1 GB, free: 1.051 MB / 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.000503/1.15, allocations: 349.7 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.15, allocations: 12.03 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/1.15, allocations: 0 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.151, allocations: 170.9 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/1.151, allocations: 9.734 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/1.151, allocations: 0 / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.021e-05/1.151, allocations: 4 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.278e-05/1.151, allocations: 33.69 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.151, allocations: 3.938 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.151, allocations: 0.5938 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.151, allocations: 0.625 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/1.151, allocations: 139.6 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/1.151, allocations: 29.27 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/1.151, allocations: 9.609 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/1.151, allocations: 0.5938 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/1.151, allocations: 56.69 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/1.151, allocations: 0.5625 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002932/1.152, allocations: 58.34 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/1.152, allocations: 51.41 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/1.152, allocations: 94.41 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/1.152, allocations: 26.33 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/1.152, allocations: 84.84 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/1.152, allocations: 11.91 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/1.152, allocations: 0.875 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.152, allocations: 310.8 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/1.152, allocations: 8.5 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/1.152, allocations: 32.73 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/1.152, allocations: 13.58 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.152, allocations: 3.953 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000148/1.153, allocations: 62.94 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.153, allocations: 8 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.153, allocations: 4.531 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.153, allocations: 3.281 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/1.153, allocations: 17.27 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.153, allocations: 1.406 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/1.153, allocations: 4 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/1.153, allocations: 0.5 kB / 1.101 GB, free: 15.28 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 0.0001013/1.153, allocations: 113.3 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001713/1.153, allocations: 70.19 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/1.153, allocations: 4.469 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/1.153, allocations: 9.109 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.153, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.153, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.153, allocations: 3.75 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/1.153, allocations: 130.2 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.153, allocations: 4 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/1.153, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.153, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.153, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/1.153, allocations: 4.656 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.153, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/1.154, allocations: 82.83 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/1.154, allocations: 81.06 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/1.154, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/1.154, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/1.154, allocations: 13.72 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.154, allocations: 8.859 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.995e-05/1.154, allocations: 79.28 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.154, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004006/1.154, allocations: 35.94 kB / 1.102 GB, free: 14.57 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.001023/1.155, allocations: 0.698 MB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001771/1.156, allocations: 31.86 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.156, allocations: 1.219 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/1.156, allocations: 8 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/1.156, allocations: 9.828 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/1.156, allocations: 116.2 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.157, allocations: 0.6807 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.976e-05/1.157, allocations: 3.938 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/1.157, allocations: 11.44 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.157, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/1.193, allocations: 1.572 MB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/1.194, allocations: 187.3 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.598, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)