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.001716/0.001716, allocations: 108 kB / 15.6 MB, free: 132 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.001887/0.001887, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.596/1.596, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.803/1.803, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00142/0.00142, allocations: 66.5 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2813, allocations: 114.5 MB / 0.7833 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002372/0.2837, allocations: 1.229 MB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.2846, allocations: 447.4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.2847, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.2847, allocations: 3.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.2848, allocations: 7.922 kB / 0.785 GB, free: 11.8 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.0005616/0.2853, allocations: 111.6 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.2854, allocations: 23.97 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.2855, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.2855, allocations: 8 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.107e-05/0.2855, allocations: 15.92 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2855, allocations: 0 / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.2857, allocations: 111.8 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.2858, allocations: 3.938 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.2858, allocations: 23.84 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.286, allocations: 91.81 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.286, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.076e-06/0.286, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.286, allocations: 3.938 kB / 0.7854 GB, free: 11.41 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.0004778/0.2865, allocations: 396 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2865, allocations: 8.031 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.2866, allocations: 8.938 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2867, allocations: 172.3 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2867, allocations: 4.375 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2867, allocations: 4.359 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2868, allocations: 42.25 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2869, allocations: 192 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2869, allocations: 3.938 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2869, allocations: 4 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.2869, allocations: 4 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.2871, allocations: 161.6 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.2872, allocations: 26.58 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.2872, allocations: 20.94 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.2872, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.2874, allocations: 55.41 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.756e-06/0.2874, allocations: 3.984 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002139/0.2876, allocations: 81.55 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2877, allocations: 55.41 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.2878, allocations: 101.8 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2878, allocations: 29.7 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.2878, allocations: 84.14 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.2878, allocations: 11.75 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.2879, allocations: 33.64 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.288, allocations: 314.8 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.288, allocations: 8 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.2881, allocations: 40.28 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2882, allocations: 52.23 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2882, allocations: 0 / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001091/0.2883, allocations: 81.45 kB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2883, allocations: 7.938 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2884, allocations: 4 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2884, allocations: 128 / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.2885, allocations: 19.94 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2885, allocations: 4.5 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.2885, allocations: 3.984 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2885, allocations: 7.938 kB / 0.7871 GB, free: 9.332 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 8.158e-05/0.2886, allocations: 113.8 kB / 0.7872 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.2886, allocations: 7.938 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.2887, allocations: 3.562 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2887, allocations: 4 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2887, allocations: 4 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2887, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.2888, allocations: 157.7 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2888, allocations: 0 / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.2889, allocations: 4 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2889, allocations: 3.938 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2889, allocations: 0 / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2889, allocations: 0 / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2889, allocations: 4 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.289, allocations: 101 kB / 0.7875 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.2891, allocations: 77.11 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2891, allocations: 3.938 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.2891, allocations: 4 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.2892, allocations: 4 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.2892, allocations: 3.984 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.2892, allocations: 79.28 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2892, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002514/0.2895, allocations: 39.88 kB / 0.7877 GB, free: 8.629 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.0003216/0.2898, allocations: 182.5 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.2899, allocations: 39.92 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2899, allocations: 0 / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.29, allocations: 15.94 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2901, allocations: 4.25 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.2904, allocations: 128.8 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2906, allocations: 0.6807 MB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.2907, allocations: 0 / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.2907, allocations: 11.44 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2907, allocations: 0 / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of Templates: time 0.003499/0.2942, allocations: 1.082 MB / 0.7898 GB, free: 6.445 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)