Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 108 kB / 15.61 MB, free: 152 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.002092/0.002092, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.67/1.67, allocations: 251.7 MB / 0.5092 GB, free: 3.102 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.001628/0.001629, allocations: 72.31 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4806, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002621/0.4833, allocations: 1.215 MB / 0.7257 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008112/0.4841, allocations: 454.2 kB / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.4842, allocations: 0 / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.4842, allocations: 3.938 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.4842, allocations: 0 / 0.7261 GB, free: 11.23 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/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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.x/Occupants/BaseClasses/logit2D.mo:2:1-36:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit2D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.4848, allocations: 119.6 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.4849, allocations: 15.97 kB / 0.7263 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.4849, allocations: 11.94 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.4849, allocations: 4 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.485, allocations: 15.92 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.485, allocations: 7.938 kB / 0.7263 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.4852, allocations: 99.89 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.4853, allocations: 11.98 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.4853, allocations: 11.88 kB / 0.7264 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.4855, allocations: 103.8 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4855, allocations: 0 / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4855, allocations: 3.938 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4855, allocations: 0 / 0.7265 GB, free: 10.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004878/0.486, allocations: 391.1 kB / 0.7269 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.486, allocations: 12.03 kB / 0.7269 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.4861, allocations: 4.844 kB / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.4862, allocations: 168.3 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.4863, allocations: 384 / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.4863, allocations: 12.36 kB / 0.7271 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.4864, allocations: 34.25 kB / 0.7271 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4864, allocations: 4.188 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4864, allocations: 3.938 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4864, allocations: 0 / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.4865, allocations: 8 kB / 0.7271 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.4866, allocations: 169.6 kB / 0.7273 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.223e-05/0.4867, allocations: 26.58 kB / 0.7273 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.4867, allocations: 12.94 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.4868, allocations: 0 / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.4869, allocations: 63.41 kB / 0.7274 GB, free: 9.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.4869, allocations: 4 kB / 0.7274 GB, free: 9.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002138/0.4871, allocations: 81.45 kB / 0.7275 GB, free: 9.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4872, allocations: 55.41 kB / 0.7275 GB, free: 9.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.4873, allocations: 101.8 kB / 0.7276 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4873, allocations: 29.7 kB / 0.7277 GB, free: 9.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.4873, allocations: 84.14 kB / 0.7277 GB, free: 9.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.4874, allocations: 11.81 kB / 0.7277 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.4874, allocations: 25.7 kB / 0.7278 GB, free: 9.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4875, allocations: 314.8 kB / 0.7281 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.4876, allocations: 8 kB / 0.7281 GB, free: 9.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.4876, allocations: 44.27 kB / 0.7281 GB, free: 8.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.4877, allocations: 56.23 kB / 0.7282 GB, free: 8.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4877, allocations: 0 / 0.7282 GB, free: 8.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001177/0.4878, allocations: 77.55 kB / 0.7282 GB, free: 8.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4878, allocations: 7.938 kB / 0.7283 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4878, allocations: 0 / 0.7283 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4879, allocations: 4 kB / 0.7283 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.4879, allocations: 11.98 kB / 0.7283 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.488, allocations: 4.109 kB / 0.7283 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.488, allocations: 23.86 kB / 0.7283 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.488, allocations: 4 kB / 0.7283 GB, free: 8.754 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.729e-05/0.4881, allocations: 109.8 kB / 0.7284 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.4881, allocations: 11.84 kB / 0.7284 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.4881, allocations: 7.562 kB / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4881, allocations: 0 / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4882, allocations: 0 / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4882, allocations: 0 / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.4883, allocations: 165.7 kB / 0.7286 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4883, allocations: 0 / 0.7286 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.4883, allocations: 4.5 kB / 0.7286 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4883, allocations: 3.938 kB / 0.7286 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4883, allocations: 0 / 0.7286 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4884, allocations: 4 kB / 0.7286 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4884, allocations: 3.938 kB / 0.7286 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.4885, allocations: 89.11 kB / 0.7287 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.4886, allocations: 85.02 kB / 0.7288 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.4886, allocations: 7.938 kB / 0.7288 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/0.4886, allocations: 0 / 0.7288 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.4886, allocations: 4 kB / 0.7288 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4887, allocations: 3.984 kB / 0.7288 GB, free: 8.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.447e-05/0.4887, allocations: 83.28 kB / 0.7289 GB, free: 8.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4887, allocations: 0 / 0.7289 GB, free: 8.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002459/0.4889, allocations: 35.98 kB / 0.7289 GB, free: 8.051 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 (5): * Single equations (assignments): 3 * 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.000303/0.4893, allocations: 154.8 kB / 0.729 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.4894, allocations: 35.92 kB / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4894, allocations: 4 kB / 0.7291 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.4894, allocations: 15.88 kB / 0.7291 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.4896, allocations: 7.266 kB / 0.7291 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.4898, allocations: 125.2 kB / 0.7292 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.4901, allocations: 0.6806 MB / 0.7299 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.4901, allocations: 4 kB / 0.7299 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.855e-05/0.4901, allocations: 15.44 kB / 0.7299 GB, free: 6.969 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4901, allocations: 0 / 0.7299 GB, free: 6.969 MB / 0.545 GB Notification: Performance of Templates: time 0.003207/0.4933, allocations: 1.09 MB / 0.731 GB, free: 5.879 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)