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.001345/0.001345, allocations: 104.1 kB / 16.36 MB, free: 6.422 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.001077/0.001077, allocations: 192.6 kB / 17.3 MB, free: 5.801 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.407/1.407, 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.782/1.782, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001389/0.001389, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2144, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002622/0.217, allocations: 1.202 MB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008437/0.2179, allocations: 399.6 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.2179, allocations: 0 / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.218, allocations: 3.938 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.218, allocations: 0 / 0.7863 GB, free: 1.562 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.0005754/0.2186, allocations: 107.6 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.2187, allocations: 15.92 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.2187, allocations: 4 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.2187, allocations: 7.938 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.864e-05/0.2188, allocations: 7.984 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2188, allocations: 7.984 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.219, allocations: 91.84 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.219, allocations: 4 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.2191, allocations: 7.938 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2193, allocations: 79.83 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2193, allocations: 0 / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2193, allocations: 0 / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2193, allocations: 0 / 0.7867 GB, free: 1.234 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.0004806/0.2198, allocations: 343.6 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2198, allocations: 8.031 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.2199, allocations: 8.938 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.22, allocations: 172.2 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.22, allocations: 4.359 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.22, allocations: 4.375 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.2201, allocations: 42.19 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2201, allocations: 192 / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2202, allocations: 3.938 kB / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2202, allocations: 0 / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.2202, allocations: 4 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.2204, allocations: 157.7 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.2204, allocations: 30.61 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.2205, allocations: 8.859 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.2205, allocations: 0 / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.2206, allocations: 59.42 kB / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2206, allocations: 0 / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001855/0.2208, allocations: 73.81 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2209, allocations: 55.39 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3768/0.5977, allocations: 92.86 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.5977, allocations: 31.3 kB / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.5978, allocations: 81.48 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.5978, allocations: 7.125 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.5979, allocations: 21.78 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.5979, allocations: 317.4 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.598, allocations: 8.422 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.598, allocations: 41.03 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.5981, allocations: 42.25 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5981, allocations: 0 / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001218/0.5982, allocations: 67.52 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5982, allocations: 11.97 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5982, allocations: 2.625 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5983, allocations: 2.688 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5984, allocations: 14.72 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5984, allocations: 0 / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.5984, allocations: 9.25 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.5984, allocations: 2.281 kB / 0.7883 GB, free: 48.28 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.178e-05/0.5985, allocations: 112.8 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.5985, allocations: 0.75 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.5986, allocations: 6.625 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5986, allocations: 7.75 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5986, allocations: 3.281 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5986, allocations: 3.25 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.966e-05/0.5987, allocations: 154.9 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5987, allocations: 3.719 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.5987, allocations: 0 / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5987, allocations: 2.5 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5987, allocations: 0 / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5987, allocations: 4.531 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5987, allocations: 0.8438 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.5989, allocations: 91.98 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.5989, allocations: 82.45 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.5989, allocations: 0 / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.5989, allocations: 6.875 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.599, allocations: 8.75 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.599, allocations: 0 / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.961e-05/0.599, allocations: 82.06 kB / 0.7888 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.599, allocations: 0 / 0.7888 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002901/0.5993, allocations: 28 kB / 0.7889 GB, free: 47.73 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.0003152/0.5996, allocations: 161.9 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.5997, allocations: 30.47 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5997, allocations: 3.125 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.5998, allocations: 11.81 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.5999, allocations: 2.719 kB / 0.7891 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.6001, allocations: 101.7 kB / 0.7892 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.177e-05/0.6002, allocations: 0.6755 MB / 0.7898 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.6003, allocations: 4.406 kB / 0.7898 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.6003, allocations: 13.11 kB / 0.7898 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6003, allocations: 1.875 kB / 0.7899 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.003171/0.6035, allocations: 0.9638 MB / 0.7908 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)