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.001514/0.001514, allocations: 107.3 kB / 16.35 MB, free: 5.879 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.001885/0.001885, allocations: 195.8 kB / 17.29 MB, free: 5.516 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.503/1.503, allocations: 205.1 MB / 223.2 MB, free: 4.5 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.712/1.712, allocations: 292.3 MB / 0.5496 GB, free: 12.78 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.001554/0.001555, allocations: 76.56 kB / 0.6729 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2343, allocations: 114.5 MB / 0.7848 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002519/0.2369, allocations: 1.213 MB / 0.7859 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.2377, allocations: 415.5 kB / 0.7863 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.2378, allocations: 4 kB / 0.7863 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.2378, allocations: 0 / 0.7863 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.2379, allocations: 7.875 kB / 0.7864 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.0005781/0.2385, allocations: 107.6 kB / 0.7865 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.2385, allocations: 15.92 kB / 0.7865 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.2386, allocations: 12 kB / 0.7865 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.2386, allocations: 4 kB / 0.7865 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.609e-05/0.2387, allocations: 11.91 kB / 0.7865 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2387, allocations: 4 kB / 0.7865 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2389, allocations: 95.84 kB / 0.7866 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.2389, allocations: 11.98 kB / 0.7866 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.239, allocations: 11.94 kB / 0.7866 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.2392, allocations: 91.81 kB / 0.7867 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2392, allocations: 0 / 0.7867 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2392, allocations: 0 / 0.7867 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2392, allocations: 3.984 kB / 0.7867 GB, free: 10.76 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.0005103/0.2397, allocations: 379.5 kB / 0.7871 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2397, allocations: 12.03 kB / 0.7871 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.2398, allocations: 4.922 kB / 0.7871 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2399, allocations: 168.3 kB / 0.7872 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2399, allocations: 4.375 kB / 0.7872 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.24, allocations: 384 / 0.7872 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2401, allocations: 46.23 kB / 0.7873 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2401, allocations: 192 / 0.7873 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2401, allocations: 3.938 kB / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2401, allocations: 0 / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.2401, allocations: 7.984 kB / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.2403, allocations: 153.7 kB / 0.7874 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.2404, allocations: 34.66 kB / 0.7875 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.2404, allocations: 16.84 kB / 0.7875 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.2405, allocations: 0 / 0.7875 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.2406, allocations: 51.31 kB / 0.7875 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.2406, allocations: 0 / 0.7875 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.2408, allocations: 77.55 kB / 0.7876 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2409, allocations: 63.34 kB / 0.7877 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.241, allocations: 97.84 kB / 0.7878 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.241, allocations: 29.7 kB / 0.7878 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.241, allocations: 84.08 kB / 0.7879 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2411, allocations: 7.906 kB / 0.7879 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.2411, allocations: 21.7 kB / 0.7879 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2412, allocations: 318.8 kB / 0.7882 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.2412, allocations: 8 kB / 0.7882 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.2413, allocations: 39.41 kB / 0.7883 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.2413, allocations: 43.38 kB / 0.7883 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2414, allocations: 0 / 0.7883 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001024/0.2415, allocations: 77.52 kB / 0.7884 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2415, allocations: 7.938 kB / 0.7884 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2415, allocations: 0 / 0.7884 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2415, allocations: 7.938 kB / 0.7884 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.2416, allocations: 8.422 kB / 0.7884 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2416, allocations: 4 kB / 0.7884 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.2416, allocations: 3.938 kB / 0.7884 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2416, allocations: 4 kB / 0.7884 GB, free: 8.754 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 7.612e-05/0.2417, allocations: 118.6 kB / 0.7885 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.2417, allocations: 7.938 kB / 0.7885 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.2418, allocations: 3.5 kB / 0.7885 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2418, allocations: 3.984 kB / 0.7885 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2418, allocations: 0 / 0.7885 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2418, allocations: 0 / 0.7885 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.2419, allocations: 153.7 kB / 0.7887 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.242, allocations: 4 kB / 0.7887 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.242, allocations: 3.938 kB / 0.7887 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.242, allocations: 3.938 kB / 0.7887 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.242, allocations: 7.984 kB / 0.7887 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.242, allocations: 0 / 0.7887 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.242, allocations: 4 kB / 0.7887 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.2421, allocations: 81.03 kB / 0.7888 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.2422, allocations: 81.09 kB / 0.7889 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2422, allocations: 3.938 kB / 0.7889 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.2423, allocations: 8 kB / 0.7889 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.2423, allocations: 0 / 0.7889 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2423, allocations: 4 kB / 0.7889 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.2423, allocations: 83.27 kB / 0.789 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2424, allocations: 3.938 kB / 0.789 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002466/0.2426, allocations: 32 kB / 0.789 GB, free: 8.055 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.0003693/0.243, allocations: 155.3 kB / 0.7891 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.2431, allocations: 32.11 kB / 0.7892 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2431, allocations: 0 / 0.7892 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.2432, allocations: 20.02 kB / 0.7892 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.0001424/0.2433, allocations: 4.094 kB / 0.7892 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.2436, allocations: 112.9 kB / 0.7893 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2438, allocations: 0.6768 MB / 0.79 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.2438, allocations: 4 kB / 0.79 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.2438, allocations: 11.62 kB / 0.79 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2438, allocations: 0 / 0.79 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.003226/0.2471, allocations: 1.035 MB / 0.791 GB, free: 5.965 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)