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.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00108/0.00108, allocations: 199.3 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 222 MB, free: 4.754 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.689/1.689, allocations: 292.3 MB / 0.5484 GB, free: 13.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.001399/0.001399, allocations: 67.59 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2451, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002539/0.2477, allocations: 1.274 MB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.2486, allocations: 408.7 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.2487, allocations: 4 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.2487, allocations: 3.938 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.085e-05/0.2487, allocations: 0 / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2492, allocations: 79.84 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.2493, allocations: 23.86 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.2493, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.2493, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.2494, allocations: 19.86 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2494, allocations: 4 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2496, allocations: 87.84 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2496, allocations: 8 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.2496, allocations: 7.922 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2498, allocations: 79.89 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2498, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2498, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2498, allocations: 0 / 0.7847 GB, free: 11.91 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.0004537/0.2503, allocations: 355.7 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2504, allocations: 12.03 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.252e-05/0.2504, allocations: 34.73 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.2505, allocations: 4.938 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2506, allocations: 160.4 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.2506, allocations: 4.375 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2506, allocations: 4.375 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2507, allocations: 42.19 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2508, allocations: 3.938 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2508, allocations: 0 / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2508, allocations: 4 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.2508, allocations: 11.98 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.2512, allocations: 248.9 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.2513, allocations: 38.44 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.2513, allocations: 16.86 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2514, allocations: 0 / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.2515, allocations: 63.48 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.2515, allocations: 0 / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002209/0.2518, allocations: 69.69 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.2518, allocations: 55.34 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.2519, allocations: 105.8 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.252, allocations: 29.7 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.252, allocations: 92.12 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.252, allocations: 7.812 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.2521, allocations: 25.7 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2522, allocations: 314.8 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.2523, allocations: 7.984 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.2523, allocations: 31.44 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.153e-05/0.2524, allocations: 55.36 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2524, allocations: 3.938 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.2525, allocations: 65.62 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2526, allocations: 8 kB / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2526, allocations: 0 / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2526, allocations: 3.938 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.2527, allocations: 19.92 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2527, allocations: 12 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.2527, allocations: 3.938 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2527, allocations: 4 kB / 0.7866 GB, free: 9.773 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 0.0001024/0.2528, allocations: 118.4 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.2529, allocations: 3.906 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.2529, allocations: 3.562 kB / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2529, allocations: 0 / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2529, allocations: 3.984 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2529, allocations: 4 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.2532, allocations: 302.5 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2532, allocations: 0 / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.2533, allocations: 4.312 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2533, allocations: 0 / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2533, allocations: 7.984 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2533, allocations: 4 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2533, allocations: 0 / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2535, allocations: 163.5 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.2535, allocations: 81.02 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.2536, allocations: 7.984 kB / 0.7872 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.2536, allocations: 3.938 kB / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.2537, allocations: 0 / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2537, allocations: 4 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.2537, allocations: 75.56 kB / 0.7873 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2537, allocations: 0 / 0.7873 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003074/0.254, allocations: 35.92 kB / 0.7874 GB, free: 8.863 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 (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.0007456/0.2548, allocations: 0.7676 MB / 0.7881 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.2549, allocations: 35.92 kB / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2549, allocations: 128 / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.255, allocations: 23.88 kB / 0.7882 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.2552, allocations: 10.8 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2562, allocations: 1.258 MB / 0.7894 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2565, allocations: 0.6848 MB / 0.7901 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.2565, allocations: 0 / 0.7901 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.2565, allocations: 11.44 kB / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2565, allocations: 0 / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.2683, allocations: 1.814 MB / 0.7919 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.2685, allocations: 265.9 kB / 0.7921 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.106, allocations: 0 / 0.7921 GB, free: 3.938 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/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)