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.001508/0.001508, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001739/0.001739, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.816/1.816, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.002244/0.002244, allocations: 71.89 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.281, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002995/0.2841, allocations: 1.198 MB / 0.7852 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.285, allocations: 403.6 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.285, allocations: 0 / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.2851, allocations: 3.938 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.136e-05/0.2851, allocations: 0 / 0.7856 GB, free: 2.254 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.0005778/0.2857, allocations: 99.7 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.923e-05/0.2858, allocations: 15.94 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.2858, allocations: 3.984 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.2858, allocations: 15.88 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.2859, allocations: 11.98 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2859, allocations: 0 / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.2861, allocations: 87.83 kB / 0.7858 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2861, allocations: 4 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.2861, allocations: 7.938 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2863, allocations: 83.83 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2863, allocations: 0 / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2863, allocations: 0 / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2863, allocations: 0 / 0.7859 GB, free: 1.93 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.0005448/0.2869, allocations: 347.6 kB / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.287, allocations: 8.031 kB / 0.7862 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.287, allocations: 4.938 kB / 0.7862 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2871, allocations: 172.5 kB / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2872, allocations: 384 / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2872, allocations: 8.375 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2873, allocations: 38.23 kB / 0.7864 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2873, allocations: 8.109 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2873, allocations: 7.938 kB / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2873, allocations: 0 / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.2874, allocations: 4 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.2876, allocations: 153.7 kB / 0.7866 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.119e-05/0.2877, allocations: 30.61 kB / 0.7866 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.2877, allocations: 8.859 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2877, allocations: 4 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.288, allocations: 59.42 kB / 0.7867 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.288, allocations: 0 / 0.7867 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000257/0.2882, allocations: 69.62 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.2883, allocations: 51.41 kB / 0.7868 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2884, allocations: 97.84 kB / 0.7869 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2884, allocations: 33.64 kB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.2885, allocations: 84.14 kB / 0.787 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2885, allocations: 8.031 kB / 0.787 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2886, allocations: 21.7 kB / 0.7871 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2887, allocations: 318.8 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.2888, allocations: 4 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.2888, allocations: 39.36 kB / 0.7874 GB, free: 152 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.2889, allocations: 47.38 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2889, allocations: 0 / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.913e-05/0.289, allocations: 69.53 kB / 0.7875 GB, free: 16 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.289, allocations: 11.92 kB / 0.7875 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2891, allocations: 0 / 0.7875 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4942/0.7832, allocations: 5.078 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.7834, allocations: 7.156 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.7834, allocations: 2.25 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.7835, allocations: 0.9375 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.7835, allocations: 4.688 kB / 0.7875 GB, free: 48.48 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 8.134e-05/0.7836, allocations: 110.6 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.7836, allocations: 8.844 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.7837, allocations: 10.39 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.7837, allocations: 0 / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7837, allocations: 0.5312 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7837, allocations: 1.125 kB / 0.7877 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.7838, allocations: 154.2 kB / 0.7878 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7838, allocations: 1.031 kB / 0.7878 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.7838, allocations: 1.312 kB / 0.7878 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.7838, allocations: 9.672 kB / 0.7878 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.7838, allocations: 0 / 0.7878 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7838, allocations: 1 kB / 0.7878 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7839, allocations: 0.8438 kB / 0.7878 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.784, allocations: 90.17 kB / 0.7879 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.784, allocations: 83.67 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.7841, allocations: 1.312 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.7841, allocations: 2.875 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.7841, allocations: 4.453 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.7841, allocations: 7.609 kB / 0.788 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.578e-05/0.7842, allocations: 78.16 kB / 0.7881 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7842, allocations: 0 / 0.7881 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000334/0.7845, allocations: 30.25 kB / 0.7881 GB, free: 47.94 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.0003333/0.7848, allocations: 156.3 kB / 0.7883 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.785, allocations: 29 kB / 0.7883 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.785, allocations: 3.469 kB / 0.7883 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.785, allocations: 15.78 kB / 0.7883 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.7852, allocations: 11.28 kB / 0.7883 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.7854, allocations: 124.8 kB / 0.7884 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.7856, allocations: 0.6799 MB / 0.7891 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.7856, allocations: 7.438 kB / 0.7891 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7856, allocations: 0 / 0.7891 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.002614/0.7882, allocations: 1.146 MB / 0.7902 GB, free: 46.98 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)