Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001422/0.001422, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.568/1.568, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.621/1.621, allocations: 251.7 MB / 0.5092 GB, free: 3.055 MB / 414.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.002131/0.002131, allocations: 71.89 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.6068, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002535/0.6094, allocations: 1.199 MB / 0.7257 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.6105, allocations: 422.2 kB / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.6105, allocations: 0 / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.6106, allocations: 4 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.6106, allocations: 7.922 kB / 0.7261 GB, free: 11.27 MB / 0.545 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 7.0.3-maint.7.0.x/Occupants/BaseClasses/weibullVariableGeneration.mo:2:1-37:30:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibullVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0007453/0.6114, allocations: 91.72 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.6115, allocations: 15.94 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.382e-05/0.6116, allocations: 4 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.6116, allocations: 11.92 kB / 0.7262 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.6116, allocations: 7.984 kB / 0.7262 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.6117, allocations: 4 kB / 0.7262 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.612, allocations: 91.89 kB / 0.7263 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.612, allocations: 4 kB / 0.7263 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.612, allocations: 11.88 kB / 0.7263 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.6123, allocations: 87.81 kB / 0.7264 GB, free: 10.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6123, allocations: 0 / 0.7264 GB, free: 10.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6123, allocations: 0 / 0.7264 GB, free: 10.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.6123, allocations: 0 / 0.7264 GB, free: 10.94 MB / 0.545 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.0005986/0.6129, allocations: 348.9 kB / 0.7267 GB, free: 10.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.613, allocations: 12.03 kB / 0.7268 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.613, allocations: 0.9375 kB / 0.7268 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.6132, allocations: 176.4 kB / 0.7269 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.6132, allocations: 4.375 kB / 0.7269 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.6132, allocations: 384 / 0.7269 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.6133, allocations: 38.25 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6134, allocations: 192 / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6134, allocations: 3.938 kB / 0.727 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6134, allocations: 3.938 kB / 0.727 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.665e-05/0.6134, allocations: 8 kB / 0.727 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.6136, allocations: 157.6 kB / 0.7271 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.6137, allocations: 30.61 kB / 0.7272 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.6137, allocations: 12.86 kB / 0.7272 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-06/0.6137, allocations: 0 / 0.7272 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.6139, allocations: 59.42 kB / 0.7272 GB, free: 9.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/0.6139, allocations: 0 / 0.7272 GB, free: 9.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002156/0.6142, allocations: 77.48 kB / 0.7273 GB, free: 9.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.6142, allocations: 59.41 kB / 0.7274 GB, free: 9.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.6143, allocations: 97.86 kB / 0.7275 GB, free: 9.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.6143, allocations: 25.7 kB / 0.7275 GB, free: 9.652 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.6144, allocations: 84.12 kB / 0.7276 GB, free: 9.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.6144, allocations: 15.84 kB / 0.7276 GB, free: 9.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.6145, allocations: 17.72 kB / 0.7276 GB, free: 9.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6146, allocations: 310.8 kB / 0.7279 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.6146, allocations: 11.98 kB / 0.7279 GB, free: 9.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.6147, allocations: 43.38 kB / 0.7279 GB, free: 9.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.6147, allocations: 39.42 kB / 0.728 GB, free: 9.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6147, allocations: 4 kB / 0.728 GB, free: 9.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/0.6148, allocations: 73.84 kB / 0.728 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6149, allocations: 11.94 kB / 0.7281 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6149, allocations: 0 / 0.7281 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6149, allocations: 0 / 0.7281 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.615, allocations: 11.98 kB / 0.7281 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.615, allocations: 160 / 0.7281 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.615, allocations: 8.047 kB / 0.7281 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.615, allocations: 3.984 kB / 0.7281 GB, free: 8.98 MB / 0.545 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.615e-05/0.6151, allocations: 117.8 kB / 0.7282 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.6151, allocations: 8.031 kB / 0.7282 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.6152, allocations: 7.5 kB / 0.7282 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.6152, allocations: 4 kB / 0.7282 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6152, allocations: 0 / 0.7282 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6152, allocations: 0 / 0.7282 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.6154, allocations: 153.7 kB / 0.7284 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6154, allocations: 4 kB / 0.7284 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.6154, allocations: 3.984 kB / 0.7284 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6154, allocations: 7.938 kB / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.6154, allocations: 4 kB / 0.7284 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6154, allocations: 4 kB / 0.7284 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6154, allocations: 0 / 0.7284 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.6156, allocations: 89.02 kB / 0.7285 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.6156, allocations: 81.05 kB / 0.7285 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.6156, allocations: 7.875 kB / 0.7286 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.6156, allocations: 0 / 0.7286 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.6157, allocations: 4 kB / 0.7286 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.6157, allocations: 0 / 0.7286 GB, free: 8.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.6157, allocations: 91.27 kB / 0.7286 GB, free: 8.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6157, allocations: 0 / 0.7286 GB, free: 8.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002457/0.616, allocations: 24 kB / 0.7287 GB, free: 8.281 MB / 0.545 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.0003215/0.6163, allocations: 157.4 kB / 0.7288 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.6164, allocations: 28.05 kB / 0.7288 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6165, allocations: 4.062 kB / 0.7288 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.6165, allocations: 19.97 kB / 0.7289 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.6166, allocations: 0 / 0.7289 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.6169, allocations: 108.9 kB / 0.729 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.6172, allocations: 0.6768 MB / 0.7296 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.6172, allocations: 0 / 0.7296 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.6172, allocations: 15.44 kB / 0.7296 GB, free: 7.227 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6172, allocations: 0 / 0.7296 GB, free: 7.227 MB / 0.545 GB Notification: Performance of Templates: time 0.003238/0.6205, allocations: 1.008 MB / 0.7306 GB, free: 6.227 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)