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.001129/0.001134, allocations: 104.2 kB / 16.36 MB, free: 6.301 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.001036/0.001036, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001448/0.001448, allocations: 63.89 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2437, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00248/0.2462, allocations: 1.233 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.2471, allocations: 443.3 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.2471, allocations: 3.938 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.2472, allocations: 0 / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.2472, allocations: 7.875 kB / 0.7864 GB, free: 1.422 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.0005885/0.2478, allocations: 115.6 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.2479, allocations: 15.92 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.2479, allocations: 4 kB / 0.7865 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.248, allocations: 12 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.248, allocations: 11.92 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.248, allocations: 0 / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.2482, allocations: 103.9 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.2483, allocations: 11.92 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.2483, allocations: 11.88 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.2485, allocations: 99.8 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2485, allocations: 4 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2485, allocations: 0 / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2485, allocations: 0 / 0.7868 GB, free: 1.039 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.000514/0.249, allocations: 389.1 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2491, allocations: 8.031 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.2491, allocations: 4.938 kB / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2493, allocations: 168.3 kB / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.2493, allocations: 8.312 kB / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2493, allocations: 384 / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.2494, allocations: 38.25 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2494, allocations: 192 / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2495, allocations: 7.875 kB / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2495, allocations: 4 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.2495, allocations: 8 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.2497, allocations: 157.7 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/0.2497, allocations: 26.58 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.2498, allocations: 12.94 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.2498, allocations: 0 / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.441/0.6908, allocations: 64.52 kB / 0.7876 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 4.278e-06/0.6909, allocations: 0 / 0.7876 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002706/0.6911, allocations: 69.42 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.6912, allocations: 52.69 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.6913, allocations: 107.9 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.6913, allocations: 26.8 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.6913, allocations: 86.02 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.6914, allocations: 11.91 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.6914, allocations: 24.44 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.6915, allocations: 318.9 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.6915, allocations: 9.781 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.6915, allocations: 32.09 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.6916, allocations: 44.33 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6916, allocations: 0 / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.97e-05/0.6917, allocations: 71.67 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.6917, allocations: 9 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6917, allocations: 2.625 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.6917, allocations: 4.5 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.6918, allocations: 9 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6919, allocations: 0 / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.6919, allocations: 8.969 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6919, allocations: 2.625 kB / 0.7885 GB, free: 48.12 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.445e-05/0.692, allocations: 123.2 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.692, allocations: 2.656 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.692, allocations: 5.469 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.692, allocations: 0 / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.692, allocations: 2.656 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6921, allocations: 0 / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.6922, allocations: 167.7 kB / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6922, allocations: 0 / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.6922, allocations: 0 / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6922, allocations: 5.781 kB / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.6922, allocations: 3.156 kB / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6922, allocations: 0 / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6922, allocations: 0 / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.6923, allocations: 93.17 kB / 0.7889 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.6924, allocations: 80.06 kB / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.6924, allocations: 2.781 kB / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.6924, allocations: 1.781 kB / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.6925, allocations: 4.625 kB / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.6925, allocations: 1.688 kB / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.6925, allocations: 88.23 kB / 0.789 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6925, allocations: 0.5938 kB / 0.789 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002873/0.6928, allocations: 36.39 kB / 0.7891 GB, free: 47.57 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.0003536/0.6932, allocations: 159.1 kB / 0.7892 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.6933, allocations: 34.42 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6933, allocations: 0 / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.6934, allocations: 13.61 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.6935, allocations: 5.312 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.6938, allocations: 144 kB / 0.7894 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.6939, allocations: 0.6774 MB / 0.7901 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.6939, allocations: 11.34 kB / 0.7901 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6939, allocations: 0.9375 kB / 0.7901 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002918/0.6968, allocations: 1.255 MB / 0.7913 GB, free: 46.59 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)