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.001544/0.001544, allocations: 102.9 kB / 16.27 MB, free: 6.418 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.001895/0.001896, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.857/1.857, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001501/0.001501, allocations: 63.91 kB / 0.6721 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2755, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002514/0.278, allocations: 1.213 MB / 0.7852 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.2789, allocations: 419.4 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.2789, allocations: 0 / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.279, allocations: 3.938 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.279, allocations: 4 kB / 0.7856 GB, free: 2.23 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.0005944/0.2796, allocations: 107.6 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.2797, allocations: 23.86 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.2798, allocations: 0 / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.2798, allocations: 7.984 kB / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.2798, allocations: 15.92 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2799, allocations: 0 / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.2801, allocations: 95.91 kB / 0.7858 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.2801, allocations: 3.984 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.2801, allocations: 15.94 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.2803, allocations: 95.75 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2803, allocations: 0 / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2803, allocations: 0 / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2803, allocations: 0 / 0.786 GB, free: 1.871 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.0005097/0.2809, allocations: 381.4 kB / 0.7863 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2809, allocations: 8.031 kB / 0.7863 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.2809, allocations: 4.938 kB / 0.7863 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2811, allocations: 168.4 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2811, allocations: 4.375 kB / 0.7865 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2811, allocations: 4.375 kB / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.2812, allocations: 34.25 kB / 0.7865 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2812, allocations: 192 / 0.7865 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2813, allocations: 3.938 kB / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2813, allocations: 0 / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.224e-05/0.2813, allocations: 15.88 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.2815, allocations: 157.7 kB / 0.7867 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.2816, allocations: 26.58 kB / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.2816, allocations: 20.94 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.2816, allocations: 0 / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.2818, allocations: 51.41 kB / 0.7868 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2818, allocations: 0 / 0.7868 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002241/0.282, allocations: 81.44 kB / 0.7869 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.282, allocations: 55.41 kB / 0.7869 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.2821, allocations: 105.8 kB / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2821, allocations: 25.7 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.2822, allocations: 84.08 kB / 0.7871 GB, free: 464 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.2822, allocations: 7.906 kB / 0.7871 GB, free: 456 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.2823, allocations: 25.7 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.2824, allocations: 310.8 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.2824, allocations: 11.98 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.2825, allocations: 39.42 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4482/0.7306, allocations: 38.58 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.7307, allocations: 1.531 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001564/0.7309, allocations: 67.33 kB / 0.7876 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.7309, allocations: 11.72 kB / 0.7876 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.7309, allocations: 1 kB / 0.7876 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.7309, allocations: 4.312 kB / 0.7876 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.731, allocations: 7.359 kB / 0.7876 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7311, allocations: 4.562 kB / 0.7876 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.7311, allocations: 7.688 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.7311, allocations: 6.188 kB / 0.7877 GB, free: 48.35 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 7.084e-05/0.7312, allocations: 110.4 kB / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.7312, allocations: 4.688 kB / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.7313, allocations: 6.594 kB / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7313, allocations: 5.531 kB / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7313, allocations: 0 / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7313, allocations: 2.203 kB / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.7314, allocations: 155.3 kB / 0.7879 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7314, allocations: 1.766 kB / 0.7879 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.7314, allocations: 5.672 kB / 0.7879 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7314, allocations: 4.75 kB / 0.7879 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.7314, allocations: 3.875 kB / 0.7879 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7315, allocations: 1.484 kB / 0.7879 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7315, allocations: 0 / 0.7879 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.7316, allocations: 89.78 kB / 0.788 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.7316, allocations: 79.73 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.7316, allocations: 4.031 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.312e-05/0.7317, allocations: 4.844 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.7317, allocations: 2.625 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.7317, allocations: 2.625 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.7317, allocations: 83.02 kB / 0.7882 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7318, allocations: 3.719 kB / 0.7882 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003504/0.7321, allocations: 33.03 kB / 0.7882 GB, free: 47.8 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.0003527/0.7325, allocations: 166.2 kB / 0.7884 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.7326, allocations: 28.66 kB / 0.7884 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7326, allocations: 0 / 0.7884 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.7327, allocations: 15.62 kB / 0.7884 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.7328, allocations: 12.58 kB / 0.7884 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.7331, allocations: 125.7 kB / 0.7886 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.7332, allocations: 0.6774 MB / 0.7892 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.7332, allocations: 10.5 kB / 0.7892 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.8e-07/0.7332, allocations: 0.5 kB / 0.7892 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002806/0.736, allocations: 1.217 MB / 0.7904 GB, free: 46.83 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)