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.001356/0.001356, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001422/0.001422, allocations: 191 kB / 17.29 MB, free: 5.516 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001593/0.001593, allocations: 71.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2566, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002685/0.2593, allocations: 1.21 MB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.2603, allocations: 447.4 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.2603, allocations: 0 / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.2604, allocations: 4 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.2604, allocations: 3.938 kB / 0.7864 GB, free: 1.5 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.0006715/0.2611, allocations: 123.5 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.2612, allocations: 23.92 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.2612, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.2612, allocations: 11.98 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.2613, allocations: 7.938 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.2613, allocations: 4 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.2615, allocations: 99.89 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.2616, allocations: 23.91 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.2616, allocations: 3.938 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.2618, allocations: 107.8 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2619, allocations: 3.938 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2619, allocations: 0 / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2619, allocations: 0 / 0.7868 GB, free: 1.098 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.0005197/0.2624, allocations: 381.1 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.2625, allocations: 12.03 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.2625, allocations: 0.9375 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2627, allocations: 172.4 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2627, allocations: 384 / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.2627, allocations: 8.375 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.2628, allocations: 34.25 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2629, allocations: 4.125 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2629, allocations: 3.938 kB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2629, allocations: 8 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.2629, allocations: 11.98 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.2631, allocations: 157.6 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.853e-05/0.2632, allocations: 30.61 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.2632, allocations: 16.84 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.2632, allocations: 0 / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.2634, allocations: 67.42 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.2634, allocations: 0 / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.428/0.6914, allocations: 68.16 kB / 0.7877 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.6915, allocations: 55.31 kB / 0.7878 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6916, allocations: 101.9 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.6916, allocations: 30.39 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.6917, allocations: 85.95 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.6917, allocations: 15 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.6918, allocations: 20.03 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.6919, allocations: 321.1 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.6919, allocations: 8.016 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.692, allocations: 43.56 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.636e-05/0.6921, allocations: 57.91 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6921, allocations: 0 / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001338/0.6922, allocations: 75.23 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6922, allocations: 9.875 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6923, allocations: 3.219 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.6923, allocations: 0 / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.6924, allocations: 14.81 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.6924, allocations: 3.531 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.6925, allocations: 3.672 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.6925, allocations: 9.688 kB / 0.7885 GB, free: 48.09 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 7.896e-05/0.6926, allocations: 116.2 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.6926, allocations: 3.75 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.6926, allocations: 9.469 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-06/0.6926, allocations: 0 / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6926, allocations: 2.25 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6927, allocations: 2.438 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.6928, allocations: 162.8 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6928, allocations: 0 / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.6928, allocations: 8.891 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6928, allocations: 0 / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6928, allocations: 8.188 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6928, allocations: 0 / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6928, allocations: 3.344 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.693, allocations: 86.22 kB / 0.7889 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.693, allocations: 80.92 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.6931, allocations: 10.02 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.6931, allocations: 0.5312 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.6931, allocations: 6.625 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6931, allocations: 0 / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.6932, allocations: 86.03 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.104e-06/0.6932, allocations: 0 / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003108/0.6935, allocations: 30.67 kB / 0.7891 GB, free: 47.55 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.0003858/0.6939, allocations: 172 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.694, allocations: 39.38 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.694, allocations: 0.5 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.6941, allocations: 15.23 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.6943, allocations: 3.688 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.6945, allocations: 113.6 kB / 0.7894 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.6947, allocations: 0.6792 MB / 0.7901 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.6947, allocations: 2.781 kB / 0.7901 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.6947, allocations: 11.41 kB / 0.7901 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6947, allocations: 3.828 kB / 0.7901 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.003952/0.6987, allocations: 1.087 MB / 0.7912 GB, free: 46.62 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)