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.00137/0.00137, allocations: 105.4 kB / 15.7 MB, free: 24 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.001637/0.001637, allocations: 197.5 kB / 16.64 MB, free: 6.449 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.789/1.789, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001456/0.001456, allocations: 68.58 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2736, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002345/0.276, allocations: 1.228 MB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000854/0.2769, allocations: 435.4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.2769, allocations: 4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.277, allocations: 3.938 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.277, allocations: 0 / 0.7857 GB, free: 11.1 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.0006157/0.2776, allocations: 112.6 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.2777, allocations: 19.92 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.2778, allocations: 4 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.2778, allocations: 4 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.2778, allocations: 11.92 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2779, allocations: 7.984 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.2781, allocations: 103.8 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.2781, allocations: 4 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.2782, allocations: 7.938 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.2784, allocations: 99.8 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2784, allocations: 4 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2784, allocations: 0 / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2784, allocations: 0 / 0.7861 GB, free: 10.73 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.00053/0.2789, allocations: 381.1 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.279, allocations: 12.03 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.279, allocations: 0.9375 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2792, allocations: 164.4 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2792, allocations: 8.359 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2792, allocations: 384 / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.2793, allocations: 46.19 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2793, allocations: 192 / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2794, allocations: 7.875 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2794, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.2794, allocations: 4 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.2796, allocations: 157.7 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.2797, allocations: 26.56 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.2797, allocations: 16.86 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.2797, allocations: 0 / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.2799, allocations: 63.33 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.2799, allocations: 4 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002378/0.2801, allocations: 65.61 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2802, allocations: 55.41 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.2803, allocations: 102 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2803, allocations: 29.7 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.2803, allocations: 84.14 kB / 0.7873 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.2804, allocations: 7.906 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.2804, allocations: 17.72 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2805, allocations: 318.8 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.2806, allocations: 15.94 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.2806, allocations: 35.42 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.2807, allocations: 47.55 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2807, allocations: 0 / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.765e-05/0.2808, allocations: 69.53 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2808, allocations: 7.938 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2808, allocations: 4.094 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2809, allocations: 4 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.2809, allocations: 7.984 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2809, allocations: 4 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.281, allocations: 11.88 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.281, allocations: 4 kB / 0.7878 GB, free: 8.727 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 7.865e-05/0.2811, allocations: 110.4 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.2811, allocations: 7.938 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.2811, allocations: 7.5 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2811, allocations: 4 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.2811, allocations: 3.984 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2812, allocations: 0 / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2813, allocations: 161.6 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2813, allocations: 0 / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.2813, allocations: 0 / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2813, allocations: 3.938 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.2813, allocations: 0 / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2813, allocations: 4 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2813, allocations: 0 / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2815, allocations: 96.95 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.2815, allocations: 77.11 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2816, allocations: 7.938 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.2816, allocations: 0 / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.2816, allocations: 3.984 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2816, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.2817, allocations: 79.28 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2817, allocations: 0 / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002404/0.2819, allocations: 39.98 kB / 0.7884 GB, free: 8.027 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.0003662/0.2823, allocations: 159.2 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2824, allocations: 31.92 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2824, allocations: 0 / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.2825, allocations: 8.188 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.2826, allocations: 12 kB / 0.7886 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.2829, allocations: 108.9 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2832, allocations: 0.6807 MB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.2832, allocations: 0 / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.2832, allocations: 11.44 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2832, allocations: 0 / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.003425/0.2866, allocations: 1.046 MB / 0.7904 GB, free: 5.93 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)