Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 102.4 kB / 16.35 MB, free: 6.348 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.001724/0.001724, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001439/0.001439, allocations: 66.88 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002517/0.2332, allocations: 1.225 MB / 0.786 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.2342, allocations: 447.3 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.2342, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.2343, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.2343, allocations: 3.938 kB / 0.7864 GB, free: 1.512 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/weibull1DON.mo:2:1-36:16:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DON' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.2349, allocations: 111.6 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.235, allocations: 23.86 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.235, allocations: 4 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.235, allocations: 7.984 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.2351, allocations: 11.92 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2351, allocations: 7.938 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.2353, allocations: 107.8 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.2353, allocations: 0 / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.2354, allocations: 15.92 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2356, allocations: 99.8 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2356, allocations: 0 / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2356, allocations: 3.938 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2356, allocations: 0 / 0.7868 GB, free: 1.125 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.0004871/0.2361, allocations: 389.1 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2361, allocations: 8.031 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.2362, allocations: 8.938 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2363, allocations: 164.3 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.2363, allocations: 384 / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.2363, allocations: 4.375 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.2364, allocations: 38.25 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.2365, allocations: 4.125 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2365, allocations: 7.922 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2365, allocations: 4 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.2365, allocations: 4 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2367, allocations: 157.7 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.775e-05/0.2368, allocations: 30.61 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.2368, allocations: 8.859 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.2368, allocations: 0 / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.237, allocations: 59.42 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.237, allocations: 4 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4263/0.6633, allocations: 74.28 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6634, allocations: 52.3 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.6635, allocations: 107.1 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.6635, allocations: 28.48 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.6635, allocations: 82.14 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.6636, allocations: 13.92 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.6636, allocations: 22.97 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.6637, allocations: 317.2 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.6637, allocations: 10.72 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.6637, allocations: 35 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.884e-05/0.6638, allocations: 50.44 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6638, allocations: 0 / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000115/0.6639, allocations: 71.91 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.664, allocations: 10.06 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.664, allocations: 1.719 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.664, allocations: 2.938 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.6641, allocations: 7.812 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6641, allocations: 2.062 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.6641, allocations: 2.75 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.6642, allocations: 11.23 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 6.116e-05/0.6642, allocations: 110.8 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.6643, allocations: 6.406 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.6643, allocations: 10.66 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6643, allocations: 2.281 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.6643, allocations: 0 / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6643, allocations: 3.094 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.6644, allocations: 158.5 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6644, allocations: 2.125 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.6644, allocations: 6.75 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6645, allocations: 0 / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.6645, allocations: 5.719 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6645, allocations: 0 / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6645, allocations: 0 / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.6646, allocations: 86.31 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.6646, allocations: 87.66 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.6646, allocations: 3.938 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.6647, allocations: 2.688 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.6647, allocations: 2.625 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.6647, allocations: 0 / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.451e-05/0.6647, allocations: 89.52 kB / 0.789 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6647, allocations: 0 / 0.789 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002952/0.665, allocations: 39.81 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.0003312/0.6654, allocations: 162.6 kB / 0.7892 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.6655, allocations: 30.64 kB / 0.7892 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6655, allocations: 0 / 0.7892 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.6656, allocations: 17.94 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.0001378/0.6657, allocations: 4.562 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.0002217/0.6659, allocations: 110.8 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.6661, allocations: 0.6788 MB / 0.79 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.6661, allocations: 4.25 kB / 0.79 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.6661, allocations: 10.16 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.6661, allocations: 0 / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.003236/0.6693, allocations: 1.093 MB / 0.7911 GB, free: 46.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)