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.001114/0.001114, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001638/0.001638, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.75 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 1.813/1.813, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0008565/0.0008567, allocations: 14.81 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3272, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001891/0.3292, allocations: 0.9392 MB / 0.7883 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3303, allocations: 381 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.3304, allocations: 0 / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.3304, allocations: 0 / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.3305, allocations: 7.938 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.3311, allocations: 67.84 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.3312, allocations: 15.92 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.941e-05/0.3312, allocations: 4 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.3313, allocations: 8 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.3313, allocations: 7.984 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3314, allocations: 4 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.3317, allocations: 87.84 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.3317, allocations: 3.984 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.3318, allocations: 29.7 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.3319, allocations: 55.91 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.332, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.332, allocations: 3.938 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.332, allocations: 0 / 0.789 GB, free: 10.25 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.0005863/0.3326, allocations: 347.5 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.3326, allocations: 8.031 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.3327, allocations: 38.55 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3328, allocations: 4 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.333, allocations: 170.9 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.333, allocations: 0 / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.333, allocations: 4 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3332, allocations: 45.67 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3332, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3332, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3332, allocations: 4 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/0.3333, allocations: 7.938 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.3337, allocations: 244.9 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3339, allocations: 38.56 kB / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.3339, allocations: 8.859 kB / 0.7898 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.334, allocations: 8 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.3342, allocations: 67.33 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.3342, allocations: 0 / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000274/0.3345, allocations: 69.67 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.3345, allocations: 59.39 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3347, allocations: 93.86 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3347, allocations: 29.7 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3347, allocations: 88.14 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3348, allocations: 11.8 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.3348, allocations: 4 kB / 0.7902 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.335, allocations: 318.8 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/0.335, allocations: 8 kB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.3351, allocations: 35.36 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.3352, allocations: 16 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3352, allocations: 0 / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001528/0.3353, allocations: 73.61 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3354, allocations: 4 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3354, allocations: 4 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3354, allocations: 0 / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.3355, allocations: 11.94 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3355, allocations: 0 / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.3356, allocations: 8 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3356, allocations: 8.234 kB / 0.7907 GB, free: 8.203 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.0001087/0.3357, allocations: 118.5 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.3357, allocations: 3.906 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.3358, allocations: 11.5 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3358, allocations: 4 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.3358, allocations: 3.938 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3358, allocations: 0 / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.3362, allocations: 314.5 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3362, allocations: 0 / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.3362, allocations: 4 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3363, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.3363, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3363, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3363, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3365, allocations: 163.5 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.3366, allocations: 81.11 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3366, allocations: 4 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.3367, allocations: 0 / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3367, allocations: 7.922 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3368, allocations: 4 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.3368, allocations: 79.56 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3368, allocations: 4 kB / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004173/0.3373, allocations: 27.98 kB / 0.7915 GB, free: 7.285 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.0009645/0.3382, allocations: 0.7734 MB / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.3384, allocations: 35.92 kB / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3384, allocations: 3.938 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.3385, allocations: 16 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.3388, allocations: 8.125 kB / 0.7923 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008906/0.3397, allocations: 408.5 kB / 0.7927 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.34, allocations: 0.6809 MB / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.3401, allocations: 7.984 kB / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.3401, allocations: 11.44 kB / 0.7934 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.3401, allocations: 3.938 kB / 0.7934 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.3572, allocations: 1.727 MB / 0.7951 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.3575, allocations: 239.5 kB / 0.7953 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.246, allocations: 4 kB / 0.7953 GB, free: 3.438 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: