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.001157/0.001157, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001132/0.001131, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.535/1.535, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.853/1.853, 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.001733/0.001733, allocations: 59.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2808, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00319/0.284, allocations: 1.198 MB / 0.7852 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.285, allocations: 403.6 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.2851, allocations: 0 / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.2851, allocations: 4 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.2852, allocations: 3.938 kB / 0.7856 GB, free: 2.223 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.0007265/0.2859, allocations: 99.66 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.286, allocations: 4 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.286, allocations: 7.984 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.2861, allocations: 15.92 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.2861, allocations: 3.938 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2861, allocations: 4 kB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2864, allocations: 87.89 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.2864, allocations: 0 / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2864, allocations: 15.94 kB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2867, allocations: 83.81 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2867, allocations: 3.938 kB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2867, allocations: 0 / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2867, allocations: 0 / 0.7859 GB, free: 1.902 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.000549/0.2873, allocations: 343.6 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2873, allocations: 8.031 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.2874, allocations: 4.938 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2875, allocations: 172.5 kB / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2875, allocations: 4.375 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2875, allocations: 4.375 kB / 0.7865 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.2877, allocations: 38.23 kB / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2877, allocations: 4.172 kB / 0.7865 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2877, allocations: 3.938 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2877, allocations: 0 / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.2878, allocations: 8 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.288, allocations: 157.6 kB / 0.7867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.2881, allocations: 30.61 kB / 0.7867 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.2881, allocations: 12.86 kB / 0.7867 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.2881, allocations: 0 / 0.7867 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.2883, allocations: 51.5 kB / 0.7868 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.2884, allocations: 0 / 0.7868 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002235/0.2886, allocations: 73.55 kB / 0.7868 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.2887, allocations: 55.41 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.2887, allocations: 101.8 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2888, allocations: 29.64 kB / 0.787 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.2888, allocations: 80.14 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.2889, allocations: 15.84 kB / 0.7871 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.2889, allocations: 17.72 kB / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2891, allocations: 314.8 kB / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.2891, allocations: 8 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.2891, allocations: 35.55 kB / 0.7874 GB, free: 132 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.2892, allocations: 47.38 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2893, allocations: 0 / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.5543/0.8436, allocations: 70.89 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.8437, allocations: 9.469 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.8437, allocations: 1.719 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/0.8438, allocations: 0 / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.8439, allocations: 11.77 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.844, allocations: 1 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.844, allocations: 4.141 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.8441, allocations: 3.156 kB / 0.7876 GB, free: 48.46 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 0.000133/0.8442, allocations: 112.9 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.8442, allocations: 3.531 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.8443, allocations: 9.406 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8443, allocations: 0 / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8443, allocations: 2.438 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8443, allocations: 0 / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.8445, allocations: 161.8 kB / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.8445, allocations: 1.672 kB / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.8445, allocations: 2.812 kB / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8445, allocations: 0 / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.8445, allocations: 0.7969 kB / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8445, allocations: 1.688 kB / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8446, allocations: 2.062 kB / 0.7879 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.8447, allocations: 97.09 kB / 0.788 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.8448, allocations: 80.95 kB / 0.788 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.8448, allocations: 1.969 kB / 0.788 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.579e-05/0.8449, allocations: 2.812 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.8449, allocations: 4.875 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8449, allocations: 8.859 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.8449, allocations: 80.09 kB / 0.7881 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.845, allocations: 0 / 0.7881 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003872/0.8454, allocations: 30.86 kB / 0.7882 GB, free: 47.92 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.0004451/0.8458, allocations: 153.5 kB / 0.7883 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.846, allocations: 36.34 kB / 0.7884 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.846, allocations: 1.844 kB / 0.7884 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.846, allocations: 10.16 kB / 0.7884 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.8462, allocations: 7.531 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.8465, allocations: 100.2 kB / 0.7885 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.8466, allocations: 0.6782 MB / 0.7891 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.8467, allocations: 2.688 kB / 0.7891 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.8467, allocations: 10.16 kB / 0.7891 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/0.8467, allocations: 0 / 0.7891 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.004679/0.8514, allocations: 0.9525 MB / 0.7901 GB, free: 47.03 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)