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.001818/0.001818, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.002289/0.002289, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.513/1.513, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.921/1.921, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001452/0.001452, allocations: 63.91 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2648, allocations: 114.6 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00245/0.2673, allocations: 1.22 MB / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.2682, allocations: 455.3 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.2683, allocations: 0 / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.2683, allocations: 0 / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.2684, allocations: 3.938 kB / 0.7857 GB, free: 2.223 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.0005954/0.269, allocations: 115.6 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.2691, allocations: 23.92 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.2691, allocations: 3.984 kB / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.2691, allocations: 7.938 kB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.168e-05/0.2692, allocations: 11.98 kB / 0.7859 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2692, allocations: 4 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.2694, allocations: 107.9 kB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.2694, allocations: 7.938 kB / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.2695, allocations: 15.86 kB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2697, allocations: 99.8 kB / 0.7861 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2697, allocations: 0 / 0.7861 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2697, allocations: 0 / 0.7861 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2697, allocations: 4 kB / 0.7861 GB, free: 1.828 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.0005235/0.2702, allocations: 381.4 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2703, allocations: 12.03 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2703, allocations: 4.938 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2705, allocations: 164.4 kB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2705, allocations: 8.375 kB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2705, allocations: 384 / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2706, allocations: 42.23 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2706, allocations: 192 / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2707, allocations: 7.875 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2707, allocations: 0 / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.2707, allocations: 8 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.2709, allocations: 169.6 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.2709, allocations: 22.58 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.271, allocations: 16.86 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.271, allocations: 0 / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.2712, allocations: 59.42 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2712, allocations: 4 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0002164/0.2714, allocations: 77.61 kB / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2715, allocations: 59.34 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.2716, allocations: 97.86 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2716, allocations: 29.7 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.2716, allocations: 84.12 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2717, allocations: 19.69 kB / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.2717, allocations: 21.72 kB / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2718, allocations: 322.8 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.2719, allocations: 8 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4207/0.6926, allocations: 45.45 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.6927, allocations: 55.78 kB / 0.7877 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6927, allocations: 1.562 kB / 0.7877 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001343/0.6929, allocations: 70.05 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6929, allocations: 11.62 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6929, allocations: 0.7031 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.6929, allocations: 5.312 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.693, allocations: 12.36 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.693, allocations: 1.406 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.6931, allocations: 6.438 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.6931, allocations: 3.188 kB / 0.7878 GB, free: 48.37 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 6.997e-05/0.6932, allocations: 118.1 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.6932, allocations: 6.797 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.6932, allocations: 5.562 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6933, allocations: 4.078 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6933, allocations: 0 / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6933, allocations: 0 / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.153e-05/0.6934, allocations: 167.9 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6934, allocations: 0 / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.6934, allocations: 3.531 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6934, allocations: 5.578 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.6934, allocations: 0.5625 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6934, allocations: 0 / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6934, allocations: 1.375 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.6936, allocations: 95.47 kB / 0.7882 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.6936, allocations: 80.08 kB / 0.7883 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.6936, allocations: 9.562 kB / 0.7883 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.6936, allocations: 3.719 kB / 0.7883 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.6937, allocations: 5.812 kB / 0.7883 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.6937, allocations: 0 / 0.7883 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.6937, allocations: 84.86 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6937, allocations: 0 / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003109/0.694, allocations: 41.81 kB / 0.7884 GB, free: 47.82 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.0003013/0.6943, allocations: 154 kB / 0.7886 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.6945, allocations: 35.59 kB / 0.7886 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6945, allocations: 5.719 kB / 0.7886 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.6945, allocations: 13.62 kB / 0.7886 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.6947, allocations: 7.688 kB / 0.7886 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.6949, allocations: 109.2 kB / 0.7887 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.695, allocations: 0.6788 MB / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.695, allocations: 2.75 kB / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.695, allocations: 13.38 kB / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.695, allocations: 0 / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.003182/0.6982, allocations: 1.09 MB / 0.7905 GB, free: 46.9 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)