Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001662, 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.001363/0.001362, allocations: 195.9 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.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.853/1.853, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001514/0.001514, allocations: 67.73 kB / 0.6722 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2816, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.0024/0.2841, allocations: 1.205 MB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.285, allocations: 403.5 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.2851, allocations: 4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2851, allocations: 3.938 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.2851, allocations: 0 / 0.7857 GB, free: 11.14 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/exponentialVariableGeneration.mo:2:1-32:34:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.exponentialVariableGeneration' 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/exponentialVariableGeneration.mo:11:5-11:98: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. Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.2858, allocations: 99.7 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.2859, allocations: 23.91 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.2859, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.2859, allocations: 4 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.286, allocations: 11.92 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.286, allocations: 4 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.2862, allocations: 87.84 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.2862, allocations: 8 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.2863, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2865, allocations: 83.81 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.2865, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2865, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2865, allocations: 0 / 0.786 GB, free: 10.82 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.0004911/0.287, allocations: 343.6 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.287, allocations: 8.031 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.2871, allocations: 8.844 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2872, allocations: 168.3 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.2872, allocations: 4.359 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2872, allocations: 8.312 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2874, allocations: 38.25 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.2874, allocations: 8.062 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2874, allocations: 3.938 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2874, allocations: 0 / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.2874, allocations: 4 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.2876, allocations: 157.7 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.193e-05/0.2877, allocations: 30.61 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.2877, allocations: 8.859 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.2877, allocations: 0 / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.2879, allocations: 63.41 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2879, allocations: 0 / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002004/0.2881, allocations: 73.62 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2881, allocations: 55.39 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.2882, allocations: 93.86 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2882, allocations: 25.7 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.2883, allocations: 88.14 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.2883, allocations: 7.812 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.2883, allocations: 21.7 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2885, allocations: 319 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.2885, allocations: 11.98 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.2885, allocations: 39.36 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.2886, allocations: 43.38 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2886, allocations: 0 / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.375e-05/0.2887, allocations: 73.61 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2887, allocations: 8.875 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2887, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2888, allocations: 4 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.2888, allocations: 4 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2888, allocations: 4 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.2889, allocations: 0 / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2889, allocations: 4 kB / 0.7877 GB, free: 8.879 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 8.768e-05/0.289, allocations: 121.9 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.289, allocations: 7.938 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.289, allocations: 3.5 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.289, allocations: 0 / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.289, allocations: 0 / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2891, allocations: 3.938 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.2892, allocations: 153.7 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2892, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.2892, allocations: 8 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2892, allocations: 3.938 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2892, allocations: 7.938 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2892, allocations: 0 / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2893, allocations: 0 / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.2894, allocations: 92.95 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.2894, allocations: 81.05 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2894, allocations: 3.938 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.2895, allocations: 3.984 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.2895, allocations: 4 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2895, allocations: 8 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.362e-05/0.2896, allocations: 75.28 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 0 / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002377/0.2898, allocations: 31.98 kB / 0.7882 GB, free: 8.176 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.0003438/0.2902, allocations: 155.8 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.2903, allocations: 35.92 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2903, allocations: 0 / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.2903, allocations: 12 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.2905, allocations: 0 / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.2907, allocations: 100.9 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.291, allocations: 0.6768 MB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.291, allocations: 8.188 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.291, allocations: 7.438 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of SimCode: time 1.443e-06/0.291, allocations: 3.938 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.003435/0.2945, allocations: 0.9718 MB / 0.7902 GB, free: 6.164 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)