Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.93 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.001011/0.001011, allocations: 179.2 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008038/0.0008036, allocations: 88.5 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.828e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1904, allocations: 106.4 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6808/0.8713, allocations: 132.1 MB / 1.014 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.8716, allocations: 66.28 kB / 1.014 GB, free: 5.332 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.005636/0.8773, allocations: 2.082 MB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8773, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8773, allocations: 0 / 1.016 GB, free: 3.562 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.0003628/0.8777, allocations: 349.4 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.8777, allocations: 8.031 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.8778, allocations: 0 / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.8779, allocations: 171 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.8779, allocations: 7.375 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.8779, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.786e-05/0.878, allocations: 8 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.397e-05/0.878, allocations: 37.62 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.8781, allocations: 3.938 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.8781, allocations: 0 / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.8781, allocations: 4 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.8782, allocations: 137.7 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.8783, allocations: 29.11 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.8783, allocations: 12.98 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.8784, allocations: 4 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.8785, allocations: 51.09 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.8785, allocations: 4 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002213/0.8787, allocations: 61.28 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8788, allocations: 55.41 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.8788, allocations: 88.98 kB / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.8789, allocations: 29.7 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.8789, allocations: 87.58 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.8789, allocations: 3.906 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.8789, allocations: 0 / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8791, allocations: 314.3 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.8791, allocations: 8 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.8791, allocations: 35.34 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.8792, allocations: 8 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8792, allocations: 7.953 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.54e-05/0.8793, allocations: 57.73 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8793, allocations: 9.344 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8793, allocations: 3.984 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8793, allocations: 4.047 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.8794, allocations: 11.8 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.8794, allocations: 8.094 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.8794, allocations: 3.906 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.8795, allocations: 4 kB / 1.018 GB, free: 1.805 MB / 0.6355 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.46e-05/0.8795, allocations: 104.9 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.718e-05/0.8796, allocations: 65.12 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.8796, allocations: 7.812 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.8797, allocations: 8.125 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.8797, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8797, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8797, allocations: 4 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.8798, allocations: 134.2 kB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8798, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.8798, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8799, allocations: 4 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.8799, allocations: 0 / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8799, allocations: 3.312 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8799, allocations: 3.938 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.88, allocations: 88.45 kB / 1.018 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.8801, allocations: 81.06 kB / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8801, allocations: 4 kB / 1.018 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.8801, allocations: 7.859 kB / 1.018 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.8801, allocations: 3.938 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.8802, allocations: 4 kB / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.8802, allocations: 75.28 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8802, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002321/0.8804, allocations: 35.92 kB / 1.019 GB, free: 1.109 MB / 0.6355 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.0006769/0.8811, allocations: 0.6951 MB / 1.019 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.427e-05/0.8812, allocations: 23.69 kB / 1.019 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8812, allocations: 4.062 kB / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.8813, allocations: 11.94 kB / 1.019 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.353e-05/0.8814, allocations: 3.938 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.8817, allocations: 117.1 kB / 1.019 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.8819, allocations: 0.6807 MB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.385e-05/0.882, allocations: 3.984 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.882, allocations: 15.25 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.882, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.9005, allocations: 1.577 MB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.9007, allocations: 193.3 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.386, allocations: 3.891 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)