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.001379/0.001379, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001501/0.001501, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.283/1.283, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.623/1.623, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001308/0.001308, allocations: 68.3 kB / 0.6711 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2325, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002327/0.2349, allocations: 1.286 MB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.2357, allocations: 400.7 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.2357, allocations: 0 / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.2357, allocations: 0 / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.2358, allocations: 0 / 0.7846 GB, free: 12.14 MB / 0.6075 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 NFTyping.typeClassSections: time 0.0005195/0.2363, allocations: 83.78 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.2364, allocations: 15.94 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.2364, allocations: 3.984 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.2365, allocations: 4 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.2365, allocations: 23.86 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2365, allocations: 0 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.2367, allocations: 91.91 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.2367, allocations: 0 / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.2368, allocations: 11.98 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.2369, allocations: 79.83 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2369, allocations: 7.938 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2369, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.2369, allocations: 0 / 0.7849 GB, free: 11.82 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.0004483/0.2374, allocations: 355.7 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2374, allocations: 15.97 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.526e-05/0.2375, allocations: 34.73 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2375, allocations: 0.9375 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2376, allocations: 164.4 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2376, allocations: 384 / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2377, allocations: 4.375 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.351e-05/0.2378, allocations: 38.25 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2378, allocations: 3.938 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2378, allocations: 0 / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2378, allocations: 8 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.2378, allocations: 15.86 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.2381, allocations: 244.9 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.2382, allocations: 42.48 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.2383, allocations: 16.86 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.2383, allocations: 4 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.2384, allocations: 59.42 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.2384, allocations: 4 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001773/0.2386, allocations: 69.69 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.2387, allocations: 55.39 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.2387, allocations: 101.8 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2388, allocations: 25.7 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.2388, allocations: 84.14 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2388, allocations: 15.81 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.2389, allocations: 21.7 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.239, allocations: 314.8 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.239, allocations: 11.98 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.239, allocations: 35.38 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.173e-05/0.2391, allocations: 51.42 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2391, allocations: 7.875 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001073/0.2392, allocations: 65.62 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2392, allocations: 4 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2393, allocations: 4 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2393, allocations: 0 / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.2393, allocations: 16.05 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2394, allocations: 0 / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.2394, allocations: 7.938 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.2394, allocations: 7.938 kB / 0.7867 GB, free: 9.691 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 6.853e-05/0.2395, allocations: 118.4 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.2395, allocations: 7.906 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.2395, allocations: 7.562 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2395, allocations: 256 / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2395, allocations: 3.984 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2395, allocations: 8 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2398, allocations: 294.6 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2398, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.2398, allocations: 7.938 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2398, allocations: 288 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2398, allocations: 3.984 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2398, allocations: 3.938 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2398, allocations: 0 / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.24, allocations: 171.5 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.24, allocations: 81.02 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.24, allocations: 3.984 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.2401, allocations: 4 kB / 0.7874 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.2401, allocations: 4 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2401, allocations: 0 / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.2402, allocations: 79.28 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2402, allocations: 0 / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002587/0.2405, allocations: 35.92 kB / 0.7875 GB, free: 8.77 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.0006381/0.2411, allocations: 0.7782 MB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.805e-05/0.2412, allocations: 31.92 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2412, allocations: 4.125 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.2413, allocations: 12 kB / 0.7883 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2415, allocations: 10.8 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2425, allocations: 1.272 MB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.2428, allocations: 0.6768 MB / 0.7903 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.2429, allocations: 4.25 kB / 0.7903 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.2429, allocations: 11.42 kB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2429, allocations: 0 / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.2541, allocations: 1.851 MB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.2544, allocations: 265.2 kB / 0.7923 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.128, allocations: 1.125 kB / 0.7923 GB, free: 3.816 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)