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.338/1.338, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 182.2 kB / 326.5 MB, free: 2.246 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.842/1.842, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008236/0.0008236, allocations: 94.06 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003611, allocations: 12.03 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2749, allocations: 106.3 MB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.4668, allocations: 131.9 MB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.4671, allocations: 71.97 kB / 1.029 GB, free: 12.08 MB / 0.6823 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.005995/0.4732, allocations: 2.096 MB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.849e-06/0.4732, allocations: 3.984 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.4732, allocations: 4 kB / 1.031 GB, free: 9.973 MB / 0.6823 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.0004878/0.4737, allocations: 355.2 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.4738, allocations: 12.03 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.4738, allocations: 34.56 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.4739, allocations: 3.984 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.474, allocations: 174.9 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4741, allocations: 0 / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.4741, allocations: 8 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.4742, allocations: 37.69 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4742, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4742, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4742, allocations: 4 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.4743, allocations: 7.984 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.4747, allocations: 253.7 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.4748, allocations: 34.56 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.4748, allocations: 3.984 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.4749, allocations: 55.5 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.4749, allocations: 4 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.000234/0.4752, allocations: 73.61 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4752, allocations: 55.41 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4754, allocations: 100.9 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4754, allocations: 29.64 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.4754, allocations: 80.14 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4755, allocations: 23.8 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4755, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4756, allocations: 310.8 kB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.4757, allocations: 8 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.4757, allocations: 35.42 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.4758, allocations: 12 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4758, allocations: 4 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.4759, allocations: 73.55 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4759, allocations: 8 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4759, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4759, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.476, allocations: 8 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.476, allocations: 7.984 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.4761, allocations: 7.844 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.4761, allocations: 11.95 kB / 1.033 GB, free: 7.938 MB / 0.6823 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 () * Number of clocked 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 9.031e-05/0.4762, allocations: 113.8 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.4762, allocations: 4 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.4762, allocations: 7.562 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4762, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4763, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4763, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.4765, allocations: 302.6 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4766, allocations: 0 / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.4766, allocations: 8 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4766, allocations: 0 / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4766, allocations: 4.25 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4766, allocations: 4 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4766, allocations: 4 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.4768, allocations: 163.5 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.4768, allocations: 81.02 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4769, allocations: 0 / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.4769, allocations: 8 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.4769, allocations: 7.984 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.477, allocations: 0 / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.539e-05/0.477, allocations: 87.48 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.477, allocations: 3.938 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003097/0.4773, allocations: 43.94 kB / 1.034 GB, free: 7.012 MB / 0.6823 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 () * Number of clocked 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.0008091/0.4781, allocations: 0.781 MB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.4783, allocations: 31.92 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4783, allocations: 0 / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.4783, allocations: 12 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.4784, allocations: 0 / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.4793, allocations: 0.817 MB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4796, allocations: 0.6779 MB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.4796, allocations: 8.234 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.4796, allocations: 7.438 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.4796, allocations: 4 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.4933, allocations: 1.899 MB / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.4936, allocations: 247 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.217, allocations: 0 / 1.038 GB, free: 2.539 MB / 0.6823 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)