Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.0013/0.0013, allocations: 176.9 kB / 366.7 MB, free: 1.703 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.819/1.819, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0009317/0.0009317, allocations: 96.12 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.258e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7878/0.7879, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.9916, allocations: 138.4 MB / 1.109 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.9919, allocations: 72.48 kB / 1.109 GB, free: 11.65 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.005839/0.9978, allocations: 2.074 MB / 1.111 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9978, allocations: 0 / 1.111 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9978, allocations: 0.5938 kB / 1.111 GB, free: 9.598 MB / 0.7136 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.0003592/0.9982, allocations: 351.6 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.9982, allocations: 9 kB / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.9983, allocations: 1.375 kB / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.9984, allocations: 178.9 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.9984, allocations: 0.8438 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.9984, allocations: 0 / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.863e-05/0.9985, allocations: 4.5 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.551e-05/0.9986, allocations: 42.33 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9986, allocations: 0 / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.9986, allocations: 0.5625 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9986, allocations: 4 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.9987, allocations: 131.7 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.9988, allocations: 29.98 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.9989, allocations: 17.42 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.9989, allocations: 1.781 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.999, allocations: 53.38 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.999, allocations: 0 / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002184/0.9992, allocations: 58.22 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.9993, allocations: 52.06 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.9994, allocations: 89.56 kB / 1.112 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.9994, allocations: 26.64 kB / 1.112 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.9994, allocations: 92.12 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.9995, allocations: 4.625 kB / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.9995, allocations: 0 / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9996, allocations: 315.5 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.9996, allocations: 8.5 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.9996, allocations: 32.25 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.9997, allocations: 9.578 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9997, allocations: 3.938 kB / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.497e-05/0.9998, allocations: 70.77 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.9998, allocations: 6.125 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9998, allocations: 1.812 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.9998, allocations: 4 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.9999, allocations: 10.17 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.9999, allocations: 4 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/1, allocations: 4.906 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/1, allocations: 4 kB / 1.112 GB, free: 7.824 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.353e-05/1, allocations: 112.2 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.136e-05/1, allocations: 58.8 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/1, allocations: 3.906 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/1, allocations: 12.11 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/1, allocations: 1.609 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1, allocations: 0 / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1, allocations: 0 / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.844e-05/1, allocations: 138.2 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1, allocations: 7.578 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/1, allocations: 3.984 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1, allocations: 0 / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/1, allocations: 5.969 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1, allocations: 3.938 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1, allocations: 0.875 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/1.001, allocations: 84.39 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/1.001, allocations: 81.06 kB / 1.113 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.001, allocations: 4 kB / 1.113 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/1.001, allocations: 0 / 1.113 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/1.001, allocations: 3.984 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/1.001, allocations: 0 / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.567e-05/1.001, allocations: 79.28 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.001, allocations: 2.156 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002571/1.001, allocations: 39.94 kB / 1.113 GB, free: 7.117 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.000679/1.002, allocations: 0.7042 MB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.559e-05/1.002, allocations: 27.92 kB / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.002, allocations: 0 / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/1.002, allocations: 12 kB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/1.002, allocations: 12.62 kB / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/1.002, allocations: 112.2 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/1.003, allocations: 0.6768 MB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.271e-05/1.003, allocations: 4 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/1.003, allocations: 11.44 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/1.003, allocations: 4 kB / 1.114 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/1.022, allocations: 1.565 MB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.023, allocations: 192 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.578, allocations: 0.5 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)