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.00142/0.00142, allocations: 105.4 kB / 15.7 MB, free: 28 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.001646/0.001646, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.793/1.793, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001462/0.001462, allocations: 73.19 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3065, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002498/0.309, allocations: 1.212 MB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008489/0.3099, allocations: 427.4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.3099, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.31, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.824e-05/0.31, allocations: 3.938 kB / 0.7857 GB, free: 11.12 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/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.0006133/0.3106, allocations: 111.6 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.3107, allocations: 19.94 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.3108, allocations: 3.984 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.3108, allocations: 4 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.3108, allocations: 15.92 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3108, allocations: 4 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.311, allocations: 99.89 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3111, allocations: 0 / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.3111, allocations: 15.92 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3113, allocations: 91.75 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3113, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3113, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3113, allocations: 4 kB / 0.7861 GB, free: 10.75 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.000531/0.3119, allocations: 381.1 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3119, allocations: 12.03 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.312, allocations: 0.9375 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3121, allocations: 164.4 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3121, allocations: 4.375 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3121, allocations: 12.3 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3123, allocations: 34.25 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3123, allocations: 4.172 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3123, allocations: 3.938 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3123, allocations: 0 / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.3123, allocations: 7.938 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.3125, allocations: 161.6 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.3126, allocations: 30.61 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.3127, allocations: 12.86 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.3127, allocations: 0 / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.3128, allocations: 63.39 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3128, allocations: 4 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002266/0.3131, allocations: 73.55 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3131, allocations: 51.41 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.3132, allocations: 97.86 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3132, allocations: 29.69 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.3132, allocations: 84.14 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3133, allocations: 7.906 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3133, allocations: 21.72 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3134, allocations: 318.8 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.3134, allocations: 8 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.3135, allocations: 31.42 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.3136, allocations: 47.38 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3136, allocations: 0 / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.688e-05/0.3137, allocations: 73.47 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3137, allocations: 7.938 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3137, allocations: 4 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3137, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.3138, allocations: 11.98 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3138, allocations: 4.141 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.3138, allocations: 3.938 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3139, allocations: 12.09 kB / 0.7878 GB, free: 8.75 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.393e-05/0.3139, allocations: 110.5 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.314, allocations: 7.875 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.314, allocations: 7.5 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.314, allocations: 432 / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.314, allocations: 4 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.314, allocations: 3.984 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.3141, allocations: 153.7 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3142, allocations: 0 / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.3142, allocations: 7.984 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3142, allocations: 7.875 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3142, allocations: 7.938 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3142, allocations: 4 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3142, allocations: 0 / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.3143, allocations: 89.02 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3144, allocations: 77.11 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3144, allocations: 7.938 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.3144, allocations: 4 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.3145, allocations: 3.984 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3145, allocations: 4 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.3145, allocations: 79.22 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3145, allocations: 0 / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000233/0.3148, allocations: 35.98 kB / 0.7884 GB, free: 8.043 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.0003378/0.3151, allocations: 148 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.3152, allocations: 35.92 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3152, allocations: 0 / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.3153, allocations: 8 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.3154, allocations: 7.938 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.3157, allocations: 115.3 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.316, allocations: 0.6729 MB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.316, allocations: 8.172 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.316, allocations: 11.44 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.316, allocations: 3.938 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of Templates: time 0.003491/0.3195, allocations: 1.019 MB / 0.7903 GB, free: 5.969 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)