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.002016/0.002016, allocations: 105.7 kB / 16.29 MB, free: 6.43 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.001636/0.001637, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.466/1.466, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.895/1.895, allocations: 292.3 MB / 0.5495 GB, free: 17.69 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.001444/0.001444, allocations: 71.89 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2563, allocations: 114.5 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00252/0.2589, allocations: 1.221 MB / 0.7853 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.2598, allocations: 455.2 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.2598, allocations: 0 / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.2599, allocations: 3.938 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.2599, allocations: 0 / 0.7857 GB, free: 2.172 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.0006336/0.2606, allocations: 115.6 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.2606, allocations: 15.98 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.2607, allocations: 4 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.2607, allocations: 11.94 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.2608, allocations: 11.98 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2608, allocations: 0 / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.261, allocations: 103.8 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.2611, allocations: 11.94 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.2611, allocations: 11.91 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.2613, allocations: 91.83 kB / 0.7861 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2613, allocations: 4 kB / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2613, allocations: 0 / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2613, allocations: 0 / 0.7861 GB, free: 1.797 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.0005496/0.2619, allocations: 393.3 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2619, allocations: 8.031 kB / 0.7864 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.262, allocations: 4.938 kB / 0.7864 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2621, allocations: 168.3 kB / 0.7866 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2622, allocations: 4.375 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2622, allocations: 4.375 kB / 0.7866 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.2623, allocations: 38.25 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2623, allocations: 192 / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2623, allocations: 3.938 kB / 0.7867 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2623, allocations: 8 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.2624, allocations: 11.97 kB / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.2626, allocations: 153.7 kB / 0.7868 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.134e-05/0.2627, allocations: 30.61 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.2627, allocations: 16.84 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.2627, allocations: 7.938 kB / 0.7869 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.2629, allocations: 59.34 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.2629, allocations: 0 / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002359/0.2632, allocations: 73.55 kB / 0.787 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.2632, allocations: 51.41 kB / 0.787 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.2633, allocations: 105.8 kB / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2634, allocations: 25.7 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.2634, allocations: 88.14 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.2634, allocations: 15.73 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.2635, allocations: 25.72 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3575/0.621, allocations: 314.8 kB / 0.7876 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.6211, allocations: 6.266 kB / 0.7876 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.6211, allocations: 30.33 kB / 0.7876 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.6212, allocations: 48.66 kB / 0.7877 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6212, allocations: 0 / 0.7877 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001307/0.6214, allocations: 71.27 kB / 0.7877 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6214, allocations: 9.781 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6214, allocations: 2.625 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6214, allocations: 0 / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.6215, allocations: 10.27 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.6215, allocations: 0 / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.6216, allocations: 2.625 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.6216, allocations: 4.891 kB / 0.7878 GB, free: 48.96 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.993e-05/0.6217, allocations: 115.8 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.6217, allocations: 6.562 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.6217, allocations: 7.734 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6217, allocations: 0.75 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6217, allocations: 3.938 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6218, allocations: 6.094 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.871e-05/0.6218, allocations: 155.1 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6219, allocations: 2.625 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.6219, allocations: 0.7031 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6219, allocations: 2.625 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6219, allocations: 0.8438 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6219, allocations: 0.5 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6219, allocations: 7.312 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.622, allocations: 96.09 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.6221, allocations: 77.11 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.6221, allocations: 7.125 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.6221, allocations: 0 / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.6221, allocations: 4.5 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.6221, allocations: 3.375 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.6222, allocations: 89.77 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6222, allocations: 0 / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003105/0.6225, allocations: 32.62 kB / 0.7884 GB, free: 48.41 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.0003109/0.6228, allocations: 160.8 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.6229, allocations: 30.97 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6229, allocations: 0 / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.623, allocations: 15.59 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.6231, allocations: 6.578 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.6233, allocations: 109.1 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.6234, allocations: 0.6853 MB / 0.7893 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.865e-05/0.6235, allocations: 0 / 0.7893 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.6235, allocations: 10.34 kB / 0.7894 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6235, allocations: 2.844 kB / 0.7894 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.003064/0.6266, allocations: 1.097 MB / 0.7904 GB, free: 47.5 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)