Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00155/0.00155, allocations: 105.4 kB / 15.7 MB, free: 24 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.001543/0.001543, allocations: 190 kB / 16.64 MB, free: 6.594 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.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.799/1.799, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001496/0.001496, allocations: 74.67 kB / 0.6722 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2944, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.004292/0.2987, allocations: 1.221 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3004, allocations: 451.3 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.3004, allocations: 4 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.3005, allocations: 3.938 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/0.3006, allocations: 0 / 0.7857 GB, free: 11.07 MB / 0.6075 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/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.001002/0.3016, allocations: 119.5 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.3017, allocations: 15.98 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.352e-05/0.3018, allocations: 7.984 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.3018, allocations: 7.938 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.3019, allocations: 11.98 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3019, allocations: 3.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.3023, allocations: 107.8 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.3024, allocations: 11.98 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.3024, allocations: 11.92 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.3027, allocations: 103.8 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3028, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3028, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3028, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 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.0007063/0.3035, allocations: 385.1 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3036, allocations: 8.031 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.3036, allocations: 4.938 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.3038, allocations: 172.2 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.3039, allocations: 4.375 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.3039, allocations: 4.375 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3041, allocations: 42.23 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3041, allocations: 192 / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3042, allocations: 3.938 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3042, allocations: 0 / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.3043, allocations: 8 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.3045, allocations: 161.7 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/0.3046, allocations: 34.45 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.927e-05/0.3047, allocations: 12.86 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3048, allocations: 0 / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.305, allocations: 63.48 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.254e-06/0.305, allocations: 0 / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003637/0.3054, allocations: 77.55 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.3055, allocations: 63.41 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3056, allocations: 93.86 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3057, allocations: 33.7 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.3058, allocations: 84.12 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.3058, allocations: 15.75 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.3059, allocations: 21.72 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3061, allocations: 314.8 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.3062, allocations: 19.94 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.3062, allocations: 40.28 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.3064, allocations: 52.22 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3064, allocations: 4 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.3067, allocations: 81.45 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.3067, allocations: 11.94 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3067, allocations: 0 / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3068, allocations: 0 / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3069, allocations: 8 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3069, allocations: 4 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.307, allocations: 4 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.307, allocations: 12.06 kB / 0.7879 GB, free: 8.609 MB / 0.6075 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 0.0001281/0.3071, allocations: 114.6 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3072, allocations: 3.938 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.3072, allocations: 7.562 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3072, allocations: 4 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3073, allocations: 0 / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3073, allocations: 0 / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.3075, allocations: 157.7 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3075, allocations: 0 / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.3075, allocations: 8.5 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.3076, allocations: 7.922 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3076, allocations: 3.938 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3076, allocations: 0 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3076, allocations: 11.98 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.3079, allocations: 92.97 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3079, allocations: 81.09 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.308, allocations: 3.938 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.385e-05/0.308, allocations: 8 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.3081, allocations: 0 / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3081, allocations: 0 / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.3082, allocations: 87.27 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3082, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004812/0.3087, allocations: 39.94 kB / 0.7885 GB, free: 7.891 MB / 0.6075 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.0005119/0.3092, allocations: 167.4 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3095, allocations: 35.92 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3095, allocations: 0 / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.633e-05/0.3096, allocations: 11.98 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.3098, allocations: 8 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.3102, allocations: 116.8 kB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3106, allocations: 0.6809 MB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.3107, allocations: 7.984 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.3107, allocations: 11.44 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.3107, allocations: 0 / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of Templates: time 0.006013/0.3167, allocations: 1.086 MB / 0.7906 GB, free: 5.723 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)