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.001323/0.001323, allocations: 104 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.001315/0.001316, allocations: 192.1 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.892/1.892, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001682/0.001682, allocations: 71.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2606, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002227/0.2629, allocations: 1.236 MB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008232/0.2637, allocations: 451.3 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.2637, allocations: 0 / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2638, allocations: 0 / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.64e-05/0.2638, allocations: 3.938 kB / 0.7864 GB, free: 1.449 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/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.0005789/0.2644, allocations: 115.6 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.2645, allocations: 27.91 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.2645, allocations: 4 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.2646, allocations: 15.92 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.2646, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.2646, allocations: 4 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.2649, allocations: 103.9 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.2649, allocations: 11.92 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.2649, allocations: 7.938 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.2651, allocations: 107.7 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2651, allocations: 0 / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2651, allocations: 4 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2652, allocations: 0 / 0.7868 GB, free: 1.055 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005016/0.2657, allocations: 385.1 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2657, allocations: 12.03 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2658, allocations: 0.9375 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2659, allocations: 168.4 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2659, allocations: 384 / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2659, allocations: 4.375 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2661, allocations: 38.25 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2661, allocations: 4.188 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2661, allocations: 11.94 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2661, allocations: 3.938 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.2661, allocations: 7.984 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.2663, allocations: 165.6 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.2664, allocations: 18.58 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.2664, allocations: 20.98 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2665, allocations: 4 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4117/0.6781, allocations: 57.8 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 5.551e-06/0.6782, allocations: 0.9844 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0003456/0.6785, allocations: 78.09 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.6786, allocations: 52.69 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.6787, allocations: 101.8 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.6787, allocations: 30.48 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.6787, allocations: 83.7 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.6788, allocations: 16.48 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.6788, allocations: 20.98 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.6789, allocations: 321.9 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.6789, allocations: 6.312 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.6789, allocations: 41.17 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/0.679, allocations: 55.08 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.679, allocations: 2.625 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001046/0.6791, allocations: 78.81 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6792, allocations: 10.06 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6792, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.6792, allocations: 2.625 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.6793, allocations: 9.281 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.6793, allocations: 7.703 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.6794, allocations: 6.344 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.6794, allocations: 5.25 kB / 0.7885 GB, free: 48.14 MB / 0.6544 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 5.893e-05/0.6794, allocations: 120.5 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.6795, allocations: 7 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.6795, allocations: 7.922 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.6795, allocations: 0.5938 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6795, allocations: 1 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6795, allocations: 0.7812 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.475e-05/0.6796, allocations: 168.3 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6796, allocations: 1.719 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.6796, allocations: 5.25 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.6797, allocations: 0 / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.6797, allocations: 0 / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6797, allocations: 3.125 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6797, allocations: 9.078 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.6798, allocations: 90.19 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.6798, allocations: 87.2 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.6798, allocations: 0 / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.6799, allocations: 0 / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.6799, allocations: 3.531 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.6799, allocations: 0 / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.68, allocations: 90.25 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.68, allocations: 0 / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003018/0.6803, allocations: 35.09 kB / 0.7891 GB, free: 47.59 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 (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.0003162/0.6806, allocations: 161 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.6807, allocations: 39.62 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6807, allocations: 0 / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.6808, allocations: 19.33 kB / 0.7894 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.6809, allocations: 8.625 kB / 0.7894 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.6812, allocations: 137.3 kB / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.373e-05/0.6813, allocations: 0.6802 MB / 0.7902 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.6813, allocations: 10.12 kB / 0.7902 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6813, allocations: 0.5312 kB / 0.7902 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.002881/0.6842, allocations: 1.277 MB / 0.7914 GB, free: 46.61 MB / 0.6544 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)