Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001778, allocations: 103.8 kB / 16.36 MB, free: 5.941 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.002168/0.002168, allocations: 196.5 kB / 17.3 MB, free: 5.562 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.811/1.811, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001385/0.001385, allocations: 72.28 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2274, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002274/0.2297, allocations: 1.224 MB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.2305, allocations: 439.4 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.2305, allocations: 0 / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.2306, allocations: 3.938 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.953e-05/0.2306, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/weibull1DOFF.mo:2:1-36:17:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DOFF' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.2311, allocations: 115.6 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.2312, allocations: 15.94 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.2312, allocations: 7.984 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.2313, allocations: 11.94 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.2313, allocations: 23.84 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2313, allocations: 0 / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.2315, allocations: 99.89 kB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.2316, allocations: 4 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.2316, allocations: 7.938 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2318, allocations: 103.8 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.2318, allocations: 3.938 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2318, allocations: 7.938 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2319, allocations: 0 / 0.7868 GB, free: 1.121 MB / 0.6544 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.000527/0.2324, allocations: 385.1 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2324, allocations: 8.031 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.2325, allocations: 4.938 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2326, allocations: 164.3 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2326, allocations: 12.36 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2327, allocations: 384 / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2328, allocations: 42.25 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2328, allocations: 192 / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2328, allocations: 3.938 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2328, allocations: 4 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.2329, allocations: 4 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.233, allocations: 161.6 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/0.2331, allocations: 26.58 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.2331, allocations: 16.94 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2332, allocations: 3.984 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.2333, allocations: 59.41 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.2333, allocations: 0 / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.3373/0.5706, allocations: 68.66 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.5707, allocations: 53.19 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.5708, allocations: 103.8 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5708, allocations: 30.11 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.5709, allocations: 86.16 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.5709, allocations: 12.33 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.571, allocations: 18.25 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.571, allocations: 318.8 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.5711, allocations: 13.52 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.5711, allocations: 37.5 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.5712, allocations: 45.83 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5712, allocations: 2.781 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001782/0.5714, allocations: 69.64 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5714, allocations: 9.594 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5714, allocations: 2.594 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.5715, allocations: 4.031 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5716, allocations: 8.047 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.5716, allocations: 0 / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.5717, allocations: 7.125 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5717, allocations: 2.875 kB / 0.7885 GB, free: 48.13 MB / 0.6544 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 7.016e-05/0.5718, allocations: 115.6 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.5718, allocations: 7.594 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.5718, allocations: 13.06 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.5719, allocations: 0 / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5719, allocations: 0 / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5719, allocations: 0 / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.572, allocations: 156.1 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.572, allocations: 1.156 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.572, allocations: 6.531 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.572, allocations: 0 / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.572, allocations: 6.469 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.572, allocations: 2.625 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.572, allocations: 0 / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.5722, allocations: 82.92 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.5722, allocations: 88.77 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5722, allocations: 6 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.5723, allocations: 2.438 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.5723, allocations: 9.469 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.5723, allocations: 2.953 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.5723, allocations: 82.94 kB / 0.7891 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5723, allocations: 0 / 0.7891 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002738/0.5726, allocations: 34.59 kB / 0.7891 GB, free: 47.58 MB / 0.6544 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.000316/0.5729, allocations: 156.3 kB / 0.7892 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.5731, allocations: 35.59 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5731, allocations: 0 / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.5731, allocations: 12.47 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.5733, allocations: 5.531 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.5735, allocations: 107.7 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.5736, allocations: 0.6814 MB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.902e-05/0.5736, allocations: 3 kB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.5736, allocations: 8.281 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5736, allocations: 3.625 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.003229/0.5769, allocations: 1.096 MB / 0.7911 GB, free: 46.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)