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.001604/0.001604, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002201/0.002201, allocations: 199.4 kB / 16.26 MB, free: 6.617 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.532/1.532, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.507/1.507, allocations: 251.6 MB / 0.5089 GB, free: 3.273 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.002203/0.002203, allocations: 71.89 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.6014, allocations: 104.7 MB / 0.724 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002422/0.6038, allocations: 1.276 MB / 0.7252 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.6046, allocations: 422.3 kB / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.6047, allocations: 0 / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.6047, allocations: 0 / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.6048, allocations: 0 / 0.7256 GB, free: 11.54 MB / 0.545 GB [/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.0005235/0.6053, allocations: 87.8 kB / 0.7257 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.6054, allocations: 4 kB / 0.7257 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.6054, allocations: 7.984 kB / 0.7257 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.6054, allocations: 15.92 kB / 0.7257 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.963e-05/0.6055, allocations: 3.984 kB / 0.7257 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.6055, allocations: 7.938 kB / 0.7257 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.6057, allocations: 87.91 kB / 0.7258 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.6057, allocations: 4 kB / 0.7258 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.6057, allocations: 7.938 kB / 0.7258 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.6059, allocations: 87.81 kB / 0.7259 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6059, allocations: 4 kB / 0.7259 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6059, allocations: 3.938 kB / 0.7259 GB, free: 11.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.6059, allocations: 0 / 0.7259 GB, free: 11.22 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.0004579/0.6064, allocations: 353.6 kB / 0.7263 GB, free: 10.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.6064, allocations: 8.031 kB / 0.7263 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.6065, allocations: 0.9375 kB / 0.7263 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.6066, allocations: 168.4 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6066, allocations: 384 / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.6066, allocations: 4.375 kB / 0.7264 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.6067, allocations: 42.25 kB / 0.7265 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.6067, allocations: 192 / 0.7265 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6068, allocations: 3.938 kB / 0.7265 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6068, allocations: 0 / 0.7265 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.6068, allocations: 7.984 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.607, allocations: 165.5 kB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.607, allocations: 26.58 kB / 0.7267 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.6071, allocations: 16.94 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.6071, allocations: 0 / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.6072, allocations: 51.41 kB / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.6072, allocations: 0 / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.6074, allocations: 85.42 kB / 0.7268 GB, free: 10.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.6075, allocations: 55.41 kB / 0.7269 GB, free: 10.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.6075, allocations: 93.86 kB / 0.727 GB, free: 9.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6076, allocations: 33.69 kB / 0.727 GB, free: 9.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.6076, allocations: 84.14 kB / 0.7271 GB, free: 9.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.6076, allocations: 11.84 kB / 0.7271 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.6077, allocations: 17.72 kB / 0.7271 GB, free: 9.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6078, allocations: 318.8 kB / 0.7274 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.6078, allocations: 8 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.6079, allocations: 35.42 kB / 0.7275 GB, free: 9.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.921e-05/0.6079, allocations: 47.38 kB / 0.7275 GB, free: 9.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6079, allocations: 0 / 0.7275 GB, free: 9.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.8e-05/0.608, allocations: 69.47 kB / 0.7276 GB, free: 9.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.608, allocations: 11.94 kB / 0.7276 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6081, allocations: 4.094 kB / 0.7276 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.6081, allocations: 0 / 0.7276 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.6081, allocations: 11.98 kB / 0.7276 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6082, allocations: 0 / 0.7276 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.6082, allocations: 4 kB / 0.7276 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.6082, allocations: 0 / 0.7276 GB, free: 9.27 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.391e-05/0.6083, allocations: 114.7 kB / 0.7277 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.6083, allocations: 7.938 kB / 0.7277 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.6083, allocations: 3.5 kB / 0.7277 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.6083, allocations: 4 kB / 0.7277 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6083, allocations: 0 / 0.7277 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6083, allocations: 3.984 kB / 0.7277 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.6085, allocations: 165.6 kB / 0.7279 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6085, allocations: 0 / 0.7279 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.6085, allocations: 4 kB / 0.7279 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.6085, allocations: 4.359 kB / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.6085, allocations: 0 / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6085, allocations: 0 / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6085, allocations: 0 / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.6086, allocations: 97 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.6087, allocations: 77.11 kB / 0.7281 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.6087, allocations: 7.875 kB / 0.7281 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.6087, allocations: 4 kB / 0.7281 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.6088, allocations: 4 kB / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.6088, allocations: 3.984 kB / 0.7281 GB, free: 8.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.6088, allocations: 79.28 kB / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6088, allocations: 0 / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002358/0.6091, allocations: 32 kB / 0.7282 GB, free: 8.57 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.0003355/0.6094, allocations: 155.1 kB / 0.7283 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.6095, allocations: 27.98 kB / 0.7284 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6095, allocations: 3.938 kB / 0.7284 GB, free: 8.391 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.6096, allocations: 15.98 kB / 0.7284 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.6097, allocations: 8.188 kB / 0.7284 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.61, allocations: 108.9 kB / 0.7285 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.6102, allocations: 0.6768 MB / 0.7291 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.6102, allocations: 0 / 0.7291 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.6103, allocations: 11.44 kB / 0.7292 GB, free: 7.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6103, allocations: 0 / 0.7292 GB, free: 7.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003212/0.6135, allocations: 1.007 MB / 0.7301 GB, free: 6.52 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)