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.00103/0.001031, allocations: 103.2 kB / 16.36 MB, free: 6.301 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.00105/0.00105, allocations: 192.4 kB / 17.29 MB, free: 5.875 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.928/1.928, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001446/0.001446, allocations: 75.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2741, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002538/0.2767, allocations: 1.22 MB / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.2775, allocations: 395.6 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.2775, allocations: 0 / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.2776, allocations: 3.938 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.2776, allocations: 3.984 kB / 0.7863 GB, free: 1.547 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/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.0006238/0.2782, allocations: 98.62 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.2783, allocations: 19.92 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.2784, allocations: 4 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.2784, allocations: 4 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.2784, allocations: 15.97 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2784, allocations: 0 / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2786, allocations: 91.84 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.2787, allocations: 7.938 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.2787, allocations: 3.984 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2789, allocations: 87.81 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2789, allocations: 3.938 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2789, allocations: 0 / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2789, allocations: 0 / 0.7867 GB, free: 1.219 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.000466/0.2794, allocations: 339.6 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2794, allocations: 12.03 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.2795, allocations: 4.922 kB / 0.787 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2796, allocations: 168.2 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2796, allocations: 4.375 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2797, allocations: 4.375 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.2798, allocations: 38.19 kB / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2798, allocations: 4.188 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2798, allocations: 7.938 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2798, allocations: 3.984 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.2799, allocations: 7.984 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.28, allocations: 149.7 kB / 0.7874 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.2801, allocations: 30.52 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.2801, allocations: 12.94 kB / 0.7874 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.2802, allocations: 0 / 0.7874 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.2803, allocations: 63.34 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2803, allocations: 0 / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.2805, allocations: 73.61 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.2806, allocations: 51.41 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4447/0.7254, allocations: 90.64 kB / 0.7877 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.7254, allocations: 29.3 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.7255, allocations: 82.95 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.7255, allocations: 9.375 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.7256, allocations: 21.25 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.7256, allocations: 322.2 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.7257, allocations: 4.25 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.7257, allocations: 35.19 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.7258, allocations: 45.55 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7258, allocations: 2.938 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001203/0.7259, allocations: 64.52 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7259, allocations: 10.34 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7259, allocations: 5.562 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.726, allocations: 3.625 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.7261, allocations: 6.891 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7261, allocations: 3.469 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.7261, allocations: 8.906 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.7261, allocations: 2.625 kB / 0.7883 GB, free: 48.33 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.971e-05/0.7262, allocations: 112.3 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.7262, allocations: 0.75 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.7263, allocations: 8.984 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.7263, allocations: 8.5 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7263, allocations: 0.7969 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7263, allocations: 0 / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.7264, allocations: 151.9 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7264, allocations: 0 / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.7264, allocations: 7.656 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7264, allocations: 0 / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7265, allocations: 7.844 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7265, allocations: 3.938 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7265, allocations: 0 / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.7266, allocations: 89.62 kB / 0.7887 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.7266, allocations: 83.47 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.7266, allocations: 0 / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.7267, allocations: 4.5 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.7267, allocations: 9.172 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.7267, allocations: 2 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.988e-05/0.7267, allocations: 81.53 kB / 0.7889 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7267, allocations: 0 / 0.7889 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003178/0.7271, allocations: 28.92 kB / 0.7889 GB, free: 47.78 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.0003232/0.7274, allocations: 158.1 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.7275, allocations: 28.16 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7275, allocations: 0 / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.7276, allocations: 18.92 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.7277, allocations: 0.7812 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.7279, allocations: 127 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.7281, allocations: 0.6752 MB / 0.7899 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.7281, allocations: 12.47 kB / 0.7899 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.7281, allocations: 0 / 0.7899 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.002744/0.7308, allocations: 1.142 MB / 0.791 GB, free: 46.82 MB / 0.6544 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)