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 2.259/2.259, allocations: 252 MB / 267.3 MB, free: 10.84 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.00178/0.00178, allocations: 184 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.215/3.215, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.001051/0.001051, allocations: 96.48 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005954/0.0005957, allocations: 6.594 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4015, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001976/0.4036, allocations: 0.9501 MB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.4047, allocations: 401 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.4048, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.4048, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.4049, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.4055, allocations: 83.78 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.169e-05/0.4056, allocations: 15.98 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.633e-05/0.4057, allocations: 0 / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.4057, allocations: 11.94 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.4058, allocations: 11.98 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.4058, allocations: 0 / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.4061, allocations: 91.84 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.4062, allocations: 3.984 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.4062, allocations: 41.62 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.4065, allocations: 79.83 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4065, allocations: 0 / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4065, allocations: 0 / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4065, allocations: 0 / 0.9025 GB, free: 61.7 MB / 0.6042 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.0006138/0.4071, allocations: 339.6 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.4072, allocations: 8.031 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.855e-05/0.4073, allocations: 42.67 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.4074, allocations: 8.844 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.4075, allocations: 164.4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4076, allocations: 384 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.4076, allocations: 4.375 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4077, allocations: 38.19 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4078, allocations: 11.92 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4078, allocations: 4 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.4078, allocations: 4 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.4079, allocations: 7.938 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.4083, allocations: 253.1 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4084, allocations: 38.5 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.4085, allocations: 12.86 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.4085, allocations: 8 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.4087, allocations: 55.48 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.4087, allocations: 0 / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002609/0.409, allocations: 73.62 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.409, allocations: 55.39 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.4091, allocations: 97.86 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.4091, allocations: 33.7 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.4092, allocations: 84.14 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.4092, allocations: 11.8 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.4092, allocations: 4 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.4093, allocations: 314.8 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.4094, allocations: 4 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.4094, allocations: 39.41 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.4095, allocations: 55.55 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4095, allocations: 3.938 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001227/0.4096, allocations: 77.55 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4097, allocations: 8 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4097, allocations: 0 / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4097, allocations: 0 / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.4098, allocations: 8 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4098, allocations: 12.05 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.4099, allocations: 3.906 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4099, allocations: 4 kB / 0.9043 GB, free: 59.59 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.808e-05/0.41, allocations: 117.7 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.41, allocations: 4 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.4101, allocations: 3.562 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4101, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4101, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4101, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.4104, allocations: 310.5 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4104, allocations: 4.25 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.4104, allocations: 4 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4104, allocations: 7.938 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4104, allocations: 0 / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4105, allocations: 4 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4105, allocations: 0 / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.4106, allocations: 175.3 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.4107, allocations: 77.11 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.4107, allocations: 0 / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.4108, allocations: 0 / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.4108, allocations: 7.984 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.4108, allocations: 0 / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.4109, allocations: 83.28 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4109, allocations: 0 / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004097/0.4113, allocations: 31.92 kB / 0.9051 GB, free: 58.68 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000863/0.4122, allocations: 0.7661 MB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.4123, allocations: 35.92 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4123, allocations: 4.125 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.4124, allocations: 8 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.4127, allocations: 11.94 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4141, allocations: 1.279 MB / 0.9072 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.4143, allocations: 0.677 MB / 0.9079 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.4144, allocations: 4 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.4144, allocations: 13.06 kB / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.4144, allocations: 0 / 0.9079 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.4323, allocations: 1.732 MB / 0.9096 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.4327, allocations: 277 kB / 0.9098 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.296, allocations: 0 / 0.9098 GB, free: 53.82 MB / 0.6042 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)