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.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 152 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.001144/0.001144, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.705/1.705, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.755/1.755, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001518/0.001518, allocations: 69.38 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2923, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002512/0.2948, allocations: 1.208 MB / 0.7845 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000844/0.2957, allocations: 403.5 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.2957, allocations: 4 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.2958, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.2958, allocations: 0 / 0.7849 GB, free: 11.88 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.0005597/0.2964, allocations: 99.64 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.2964, allocations: 19.92 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.2965, allocations: 0 / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.2965, allocations: 7.984 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.555e-05/0.2966, allocations: 4 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2966, allocations: 3.984 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.2968, allocations: 95.84 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.2968, allocations: 15.92 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.2968, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.297, allocations: 83.83 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.297, allocations: 0 / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.297, allocations: 0 / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.297, allocations: 0 / 0.7852 GB, free: 11.55 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.0004842/0.2975, allocations: 339.5 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2976, allocations: 16.02 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.2976, allocations: 4.844 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2977, allocations: 172.6 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2977, allocations: 4.375 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-06/0.2978, allocations: 384 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2979, allocations: 38.25 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2979, allocations: 4.188 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2979, allocations: 3.938 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2979, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.2979, allocations: 7.984 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.2981, allocations: 153.7 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.93e-05/0.2982, allocations: 34.52 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.2982, allocations: 16.88 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.2982, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.2984, allocations: 55.41 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.2984, allocations: 0 / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.2986, allocations: 77.48 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2987, allocations: 59.41 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.2987, allocations: 93.86 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2988, allocations: 29.69 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.2988, allocations: 84.14 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2988, allocations: 7.812 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.2989, allocations: 21.72 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.299, allocations: 314.8 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.299, allocations: 12.12 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.2991, allocations: 31.44 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.2991, allocations: 43.36 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2991, allocations: 0 / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001137/0.2993, allocations: 69.62 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2993, allocations: 11.88 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2993, allocations: 4 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2993, allocations: 0 / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.2994, allocations: 15.98 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2994, allocations: 0 / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.2995, allocations: 0 / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2995, allocations: 4.234 kB / 0.7869 GB, free: 9.605 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.995e-05/0.2996, allocations: 118.6 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.2996, allocations: 3.938 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.2996, allocations: 7.484 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2996, allocations: 0 / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2996, allocations: 4 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2996, allocations: 0 / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2998, allocations: 157.7 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2998, allocations: 0 / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.2998, allocations: 7.922 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2998, allocations: 3.938 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2998, allocations: 0 / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2998, allocations: 8 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2998, allocations: 0 / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.3, allocations: 85.02 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.3, allocations: 81.05 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3, allocations: 11.88 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.3001, allocations: 0 / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.3001, allocations: 0 / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3001, allocations: 3.938 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.3001, allocations: 91.27 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3002, allocations: 0 / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002467/0.3004, allocations: 24 kB / 0.7875 GB, free: 8.906 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.0003663/0.3008, allocations: 161.9 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.3009, allocations: 28.08 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3009, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.301, allocations: 19.92 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3011, allocations: 6.438 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.3014, allocations: 97.16 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3016, allocations: 0.6768 MB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.3016, allocations: 4.188 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.3017, allocations: 11.44 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3017, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.003438/0.3051, allocations: 0.9643 MB / 0.7894 GB, free: 6.895 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)