Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 104.3 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.001391/0.001391, allocations: 184.5 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.556/1.556, 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.845/1.845, allocations: 292.3 MB / 0.5495 GB, free: 17.36 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.001727/0.001727, allocations: 63.91 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2863, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002546/0.2889, allocations: 1.21 MB / 0.7852 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.2899, allocations: 419.5 kB / 0.7856 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.2899, allocations: 3.938 kB / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.29, allocations: 0 / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.29, allocations: 0 / 0.7856 GB, free: 2.215 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/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' 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/binaryVariableGeneration.mo:11:3-11:96: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/linear1D.mo:2:1-30:13:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.linear1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.2906, allocations: 115.6 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.2907, allocations: 19.92 kB / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.951e-05/0.2908, allocations: 7.984 kB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.2908, allocations: 4 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.2909, allocations: 11.92 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.2909, allocations: 4 kB / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.2911, allocations: 95.84 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.2912, allocations: 8 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.2912, allocations: 7.922 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.2914, allocations: 91.81 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2914, allocations: 0 / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2914, allocations: 4 kB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.2915, allocations: 0 / 0.786 GB, free: 1.852 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.0005737/0.292, allocations: 385.4 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2921, allocations: 12.03 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.2921, allocations: 0.9375 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2923, allocations: 164.4 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2923, allocations: 4.375 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.2923, allocations: 384 / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2924, allocations: 46.19 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2925, allocations: 192 / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2925, allocations: 3.938 kB / 0.7866 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2925, allocations: 0 / 0.7866 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.2925, allocations: 11.94 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.2927, allocations: 157.7 kB / 0.7868 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.2928, allocations: 26.58 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.2928, allocations: 16.92 kB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2929, allocations: 7.938 kB / 0.7868 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.2931, allocations: 51.41 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2931, allocations: 0 / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002486/0.2933, allocations: 73.52 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.2934, allocations: 55.41 kB / 0.787 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2935, allocations: 105.8 kB / 0.7871 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2935, allocations: 29.7 kB / 0.7871 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.2936, allocations: 80.14 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2936, allocations: 15.89 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.2937, allocations: 21.66 kB / 0.7872 GB, free: 400 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2938, allocations: 314.8 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.2939, allocations: 12 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.2939, allocations: 31.42 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4909/0.7848, allocations: 42.84 kB / 0.7876 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.7849, allocations: 1 kB / 0.7876 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001748/0.785, allocations: 71.42 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7851, allocations: 11.75 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7851, allocations: 0.7188 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.7851, allocations: 2.625 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.902e-05/0.7852, allocations: 8.797 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7852, allocations: 4.875 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.7853, allocations: 9.734 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.7853, allocations: 2.625 kB / 0.7877 GB, free: 48.95 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.068e-05/0.7854, allocations: 113 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.7854, allocations: 5.859 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.7855, allocations: 3.5 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7855, allocations: 0 / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.7855, allocations: 2.625 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7855, allocations: 0.6094 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.7856, allocations: 159.2 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7856, allocations: 0 / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.7856, allocations: 5.859 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.7857, allocations: 1.938 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.7857, allocations: 2.625 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7857, allocations: 2.281 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7857, allocations: 0 / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.7858, allocations: 91.03 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.7858, allocations: 82.73 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7859, allocations: 4.875 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.7859, allocations: 0 / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.7859, allocations: 2.625 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.7859, allocations: 0.5625 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.786, allocations: 88.03 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.243e-06/0.786, allocations: 0 / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003233/0.7863, allocations: 37 kB / 0.7883 GB, free: 48.41 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.0003406/0.7867, allocations: 158.4 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.7868, allocations: 32.03 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7868, allocations: 3.25 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.7868, allocations: 14.38 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.787, allocations: 9.25 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.7872, allocations: 102.3 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.7873, allocations: 0.6775 MB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.895e-05/0.7874, allocations: 0 / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.7874, allocations: 10.88 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7874, allocations: 0 / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of Templates: time 0.00325/0.7907, allocations: 1.031 MB / 0.7903 GB, free: 47.5 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)