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.00122/0.00122, allocations: 104.5 kB / 16.29 MB, free: 6.43 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.001163/0.001164, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.482/1.482, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.849/1.849, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001506/0.001506, allocations: 70.25 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2823, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002533/0.2849, allocations: 1.21 MB / 0.7852 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00098/0.2859, allocations: 431.4 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.286, allocations: 0 / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.286, allocations: 0 / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.071e-05/0.2861, allocations: 7.938 kB / 0.7857 GB, free: 2.188 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/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.0006411/0.2867, allocations: 111.6 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.2868, allocations: 15.92 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.529e-05/0.2869, allocations: 3.984 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.2869, allocations: 12 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.2869, allocations: 11.92 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.287, allocations: 3.938 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.2872, allocations: 99.91 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.2872, allocations: 7.984 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.2872, allocations: 11.88 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.2874, allocations: 95.8 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2875, allocations: 0 / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2875, allocations: 3.938 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2875, allocations: 0 / 0.786 GB, free: 1.816 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005697/0.2881, allocations: 385.4 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2881, allocations: 12.03 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.2882, allocations: 0.9375 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2883, allocations: 160.4 kB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2883, allocations: 8.359 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.2883, allocations: 384 / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.2885, allocations: 42.25 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.2885, allocations: 4.172 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2885, allocations: 3.938 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2885, allocations: 4 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.2886, allocations: 4 kB / 0.7866 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.2887, allocations: 161.6 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.2888, allocations: 30.61 kB / 0.7868 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.2889, allocations: 12.86 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.2889, allocations: 0 / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.2891, allocations: 59.48 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2891, allocations: 0 / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002359/0.2893, allocations: 73.47 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.2894, allocations: 59.39 kB / 0.787 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.2895, allocations: 93.86 kB / 0.7871 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2895, allocations: 33.64 kB / 0.7871 GB, free: 496 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.2896, allocations: 84.12 kB / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.2896, allocations: 11.89 kB / 0.7872 GB, free: 396 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.2896, allocations: 25.72 kB / 0.7872 GB, free: 364 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2898, allocations: 310.8 kB / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.2898, allocations: 11.98 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4426/0.7324, allocations: 27.44 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.7325, allocations: 47.75 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7326, allocations: 1 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001425/0.7327, allocations: 67.62 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.7327, allocations: 9.531 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.7327, allocations: 0 / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.7328, allocations: 5.094 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.7329, allocations: 11.98 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.7329, allocations: 2.625 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.7329, allocations: 5.625 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.733, allocations: 3.234 kB / 0.7877 GB, free: 48.45 MB / 0.6544 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.976e-05/0.733, allocations: 114.9 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.7331, allocations: 4.688 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.7331, allocations: 7.609 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7331, allocations: 2.625 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7331, allocations: 3.375 kB / 0.7879 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7331, allocations: 1.125 kB / 0.7879 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.7332, allocations: 157.2 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.7332, allocations: 4.781 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.7333, allocations: 1.5 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7333, allocations: 2.625 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.7333, allocations: 0.9844 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7333, allocations: 0 / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7333, allocations: 0 / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.7334, allocations: 92.89 kB / 0.7881 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.7335, allocations: 83.27 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.7335, allocations: 0.5156 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.7335, allocations: 2.188 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.7335, allocations: 6 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.7335, allocations: 9.891 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.7336, allocations: 78.5 kB / 0.7883 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7336, allocations: 0.5312 kB / 0.7883 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002807/0.7339, allocations: 35.86 kB / 0.7883 GB, free: 47.91 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 (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.0003553/0.7342, allocations: 162.4 kB / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.7344, allocations: 33.91 kB / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7344, allocations: 0 / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.7344, allocations: 14.69 kB / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.7346, allocations: 9.484 kB / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.7348, allocations: 99.67 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.7349, allocations: 0.6804 MB / 0.7893 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.735, allocations: 2.781 kB / 0.7893 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.735, allocations: 12.81 kB / 0.7893 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.735, allocations: 0 / 0.7893 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.003482/0.7385, allocations: 1.038 MB / 0.7903 GB, free: 46.99 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)