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: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 105.2 kB / 15.98 MB, free: 5.891 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.001168/0.001168, allocations: 185.7 kB / 16.91 MB, free: 5.746 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.374/1.374, allocations: 205.1 MB / 222.8 MB, free: 4.66 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.643/1.643, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001365/0.001365, allocations: 66.58 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2269, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002399/0.2293, allocations: 1.274 MB / 0.7847 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.2301, allocations: 400.7 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.2301, allocations: 0 / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.2302, allocations: 0 / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.2302, allocations: 4 kB / 0.7851 GB, free: 12.23 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.000463/0.2307, allocations: 83.8 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.2308, allocations: 23.91 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.2308, allocations: 4 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.2308, allocations: 4 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.49e-05/0.2309, allocations: 15.86 kB / 0.7853 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.2309, allocations: 4 kB / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.231, allocations: 91.84 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2311, allocations: 4 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.2311, allocations: 7.984 kB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2312, allocations: 67.83 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2313, allocations: 0 / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2313, allocations: 0 / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2313, allocations: 4 kB / 0.7854 GB, free: 11.93 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.0004755/0.2317, allocations: 339.8 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2318, allocations: 16.02 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.2318, allocations: 8.938 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2319, allocations: 168.3 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.232, allocations: 4.375 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.232, allocations: 384 / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.2322, allocations: 38.25 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2322, allocations: 192 / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2322, allocations: 7.938 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2322, allocations: 0 / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.2322, allocations: 7.984 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2324, allocations: 153.7 kB / 0.7861 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/0.2325, allocations: 30.52 kB / 0.7862 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.2325, allocations: 16.98 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2325, allocations: 0 / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.2327, allocations: 55.39 kB / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2327, allocations: 0 / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.2328, allocations: 81.45 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2329, allocations: 59.34 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.233, allocations: 97.84 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.233, allocations: 29.7 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2331, allocations: 84.14 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.2331, allocations: 3.906 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.2332, allocations: 25.7 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.2334, allocations: 318.8 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.2334, allocations: 4 kB / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.2334, allocations: 35.42 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.2336, allocations: 43.38 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2336, allocations: 4 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.482e-05/0.2337, allocations: 65.62 kB / 0.7871 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2337, allocations: 11.92 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2337, allocations: 4 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2337, allocations: 0 / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.2338, allocations: 11.94 kB / 0.7871 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2338, allocations: 0 / 0.7871 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.2338, allocations: 3.938 kB / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2339, allocations: 4 kB / 0.7871 GB, free: 9.98 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.461e-05/0.234, allocations: 118.6 kB / 0.7872 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.234, allocations: 7.844 kB / 0.7872 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.234, allocations: 7.484 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.234, allocations: 0 / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.234, allocations: 4 kB / 0.7872 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.234, allocations: 0 / 0.7872 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2341, allocations: 161.6 kB / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2341, allocations: 0 / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.2342, allocations: 0 / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2342, allocations: 3.938 kB / 0.7874 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.2342, allocations: 8 kB / 0.7874 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2342, allocations: 7.938 kB / 0.7874 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2342, allocations: 0 / 0.7874 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.2343, allocations: 81.11 kB / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.2344, allocations: 81.11 kB / 0.7875 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.2344, allocations: 4.406 kB / 0.7876 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.2344, allocations: 3.938 kB / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.2344, allocations: 11.98 kB / 0.7876 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.2344, allocations: 4 kB / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.2345, allocations: 79.27 kB / 0.7876 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2345, allocations: 0 / 0.7876 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002675/0.2348, allocations: 31.98 kB / 0.7877 GB, free: 9.273 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003445/0.2351, allocations: 161.3 kB / 0.7878 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.2353, allocations: 35.92 kB / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2353, allocations: 0 / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.2353, allocations: 15.94 kB / 0.7879 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.2355, allocations: 4 kB / 0.7879 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.2359, allocations: 146.5 kB / 0.788 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.2363, allocations: 0.6729 MB / 0.7887 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.2363, allocations: 15.62 kB / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2363, allocations: 0 / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of Templates: time 0.003878/0.2402, allocations: 1.163 MB / 0.7898 GB, free: 7.012 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (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 & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)