Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, 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.001796/0.001796, allocations: 191.8 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.622/1.622, 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.749/1.749, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.002058/0.002059, allocations: 68.39 kB / 0.6715 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3157, allocations: 114.5 MB / 0.7834 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002465/0.3182, allocations: 1.221 MB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008656/0.3191, allocations: 431.4 kB / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.3191, allocations: 4 kB / 0.785 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3191, allocations: 0 / 0.785 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.3192, allocations: 3.938 kB / 0.785 GB, free: 11.92 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/logit1D.mo:2:1-32:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.3198, allocations: 111.6 kB / 0.7851 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.3199, allocations: 15.92 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.3199, allocations: 8 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.3199, allocations: 11.98 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.95e-05/0.32, allocations: 3.938 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.32, allocations: 4 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.3202, allocations: 103.8 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3202, allocations: 7.984 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.3203, allocations: 15.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.3205, allocations: 87.81 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3205, allocations: 0 / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3205, allocations: 0 / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3205, allocations: 0 / 0.7853 GB, free: 11.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005427/0.3211, allocations: 385.4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3211, allocations: 12.03 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3212, allocations: 0.9375 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3213, allocations: 172.3 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3213, allocations: 384 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3213, allocations: 384 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3214, allocations: 42.25 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3214, allocations: 192 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3214, allocations: 7.922 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3215, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.3215, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3217, allocations: 157.7 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.3217, allocations: 30.52 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.3218, allocations: 16.94 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.3218, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.3219, allocations: 55.31 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.322, allocations: 4 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002406/0.3222, allocations: 69.55 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3222, allocations: 59.41 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3224, allocations: 97.84 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3224, allocations: 33.64 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.3224, allocations: 84.14 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3224, allocations: 7.906 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.3225, allocations: 17.72 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3226, allocations: 322.8 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.3227, allocations: 11.94 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.3227, allocations: 35.42 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.3228, allocations: 47.38 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3228, allocations: 0 / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.632e-05/0.3229, allocations: 69.53 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3229, allocations: 7.938 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3229, allocations: 3.984 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3229, allocations: 7.938 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.323, allocations: 4 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.323, allocations: 8.094 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.323, allocations: 3.938 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.323, allocations: 4 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.673e-05/0.3231, allocations: 110.5 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.3231, allocations: 7.938 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.3232, allocations: 7.484 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3232, allocations: 0 / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3232, allocations: 432 / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3232, allocations: 0 / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3233, allocations: 157.7 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3233, allocations: 4 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.3233, allocations: 3.938 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3233, allocations: 3.938 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3233, allocations: 3.984 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3234, allocations: 4 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3234, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.3235, allocations: 85.02 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.3235, allocations: 81.11 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3236, allocations: 3.938 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.3236, allocations: 11.98 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.3236, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3236, allocations: 3.938 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.3237, allocations: 79.28 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002371/0.3239, allocations: 35.98 kB / 0.7876 GB, free: 8.852 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 (4): * Single equations (assignments): 2 * 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.0003193/0.3242, allocations: 164.5 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3243, allocations: 31.92 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3244, allocations: 0 / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.3244, allocations: 15.94 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3246, allocations: 7.984 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.3248, allocations: 109.1 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.325, allocations: 0.6807 MB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.3251, allocations: 0 / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.3251, allocations: 11.44 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3251, allocations: 0 / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.003402/0.3285, allocations: 1.039 MB / 0.7896 GB, free: 6.75 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)