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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002349/0.00235, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.203/3.203, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.939/2.939, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 12.03 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4862, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002469/0.4887, allocations: 0.9336 MB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.4901, allocations: 386.8 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.4902, allocations: 0 / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.4902, allocations: 0 / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.4903, allocations: 0 / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.4912, allocations: 71.73 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.4915, allocations: 15.97 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.4916, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.4916, allocations: 4 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.4917, allocations: 15.92 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4917, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.4921, allocations: 71.86 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.4921, allocations: 4 kB / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.4922, allocations: 29.64 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.4925, allocations: 55.91 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4925, allocations: 0 / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.927e-06/0.4925, allocations: 0 / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.4925, allocations: 0 / 0.7888 GB, free: 10.31 MB / 0.6075 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.00076/0.4933, allocations: 354.3 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.928e-05/0.4934, allocations: 12.03 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.4935, allocations: 34.55 kB / 0.7891 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.4935, allocations: 0 / 0.7891 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.4938, allocations: 175 kB / 0.7893 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.4938, allocations: 3.938 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4939, allocations: 4 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.494, allocations: 41.67 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4941, allocations: 0 / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4941, allocations: 0 / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4941, allocations: 4 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.4942, allocations: 7.938 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.495, allocations: 244.9 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.4951, allocations: 34.56 kB / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4952, allocations: 0 / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.4955, allocations: 67.44 kB / 0.7897 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.4955, allocations: 0 / 0.7897 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003464/0.4958, allocations: 81.58 kB / 0.7898 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.496, allocations: 51.41 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4961, allocations: 97.84 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4961, allocations: 33.64 kB / 0.7899 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.4962, allocations: 80.14 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.4963, allocations: 15.81 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.4963, allocations: 4 kB / 0.79 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.4965, allocations: 314.8 kB / 0.7903 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.4965, allocations: 15.98 kB / 0.7904 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.4966, allocations: 31.38 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.4967, allocations: 19.98 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4967, allocations: 0 / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001737/0.4969, allocations: 69.91 kB / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4969, allocations: 4 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4969, allocations: 3.984 kB / 0.7905 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4969, allocations: 4 kB / 0.7905 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.497, allocations: 11.92 kB / 0.7905 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4971, allocations: 4 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.4971, allocations: 3.938 kB / 0.7905 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.4972, allocations: 4 kB / 0.7905 GB, free: 8.281 MB / 0.6075 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 0.00015/0.4973, allocations: 121.9 kB / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.4974, allocations: 3.906 kB / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.4974, allocations: 3.562 kB / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001382/0.4975, allocations: 0 / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.4976, allocations: 11.92 kB / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4976, allocations: 0 / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.498, allocations: 298.5 kB / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.498, allocations: 0 / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.4981, allocations: 8 kB / 0.7909 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.4981, allocations: 0 / 0.7909 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4981, allocations: 7.984 kB / 0.7909 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4981, allocations: 0 / 0.7909 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4981, allocations: 0 / 0.7909 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4984, allocations: 159.5 kB / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.4985, allocations: 77.11 kB / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4985, allocations: 3.984 kB / 0.7912 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.4986, allocations: 8.375 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.4986, allocations: 3.938 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4986, allocations: 4 kB / 0.7912 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.4987, allocations: 79.28 kB / 0.7913 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4987, allocations: 0 / 0.7913 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000509/0.4993, allocations: 35.92 kB / 0.7913 GB, free: 7.367 MB / 0.6075 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.001423/0.5007, allocations: 0.7679 MB / 0.792 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.5009, allocations: 40.14 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5009, allocations: 0 / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.501, allocations: 12 kB / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.5012, allocations: 10.38 kB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.5026, allocations: 0.8094 MB / 0.7929 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.503, allocations: 0.6809 MB / 0.7936 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.5031, allocations: 7.984 kB / 0.7936 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.5031, allocations: 7.438 kB / 0.7936 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of SimCode: time 7.62e-07/0.5032, allocations: 0 / 0.7936 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.5281, allocations: 1.701 MB / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004193/0.5286, allocations: 237.5 kB / 0.7955 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/3.618, allocations: 0 / 0.7955 GB, free: 3.164 MB / 0.6075 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) Environment - environmentSimulation: