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.001095/0.001096, allocations: 111.7 kB / 16.38 MB, free: 6.008 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.001109/0.001109, allocations: 188.3 kB / 17.31 MB, free: 5.621 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.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001498/0.001498, allocations: 71.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1924, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002225/0.1947, allocations: 1.225 MB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.1955, allocations: 423.4 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.1955, allocations: 0 / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1956, allocations: 0 / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.1956, allocations: 3.938 kB / 0.7864 GB, free: 1.527 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.0005808/0.1962, allocations: 103.6 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.1963, allocations: 15.98 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.1963, allocations: 12 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.1964, allocations: 4 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.928e-05/0.1964, allocations: 15.86 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1964, allocations: 4 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1966, allocations: 95.83 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.1967, allocations: 4 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.1967, allocations: 15.92 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1969, allocations: 91.81 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1969, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1969, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1969, allocations: 4 kB / 0.7867 GB, free: 1.168 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.0004448/0.1974, allocations: 377.1 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1974, allocations: 16.02 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1974, allocations: 4.875 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.1975, allocations: 164.4 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1976, allocations: 8.375 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1976, allocations: 384 / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.1977, allocations: 34.25 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1977, allocations: 4.188 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1977, allocations: 7.938 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1977, allocations: 0 / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.1978, allocations: 11.92 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.1979, allocations: 153.7 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.544e-05/0.198, allocations: 34.55 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.198, allocations: 12.86 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.1981, allocations: 0 / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.1982, allocations: 59.48 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 3.066e-06/0.1982, allocations: 3.984 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001953/0.1984, allocations: 73.47 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.327/0.5254, allocations: 51.91 kB / 0.7877 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.5256, allocations: 99.8 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.5256, allocations: 26.83 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.5256, allocations: 86.08 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.5257, allocations: 8.562 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.5257, allocations: 23.28 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.5258, allocations: 310.8 kB / 0.7882 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.5258, allocations: 10.2 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.5258, allocations: 31.75 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.5259, allocations: 46.7 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5259, allocations: 3.531 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000109/0.526, allocations: 73.28 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.526, allocations: 6.031 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.526, allocations: 3.75 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.5261, allocations: 2.625 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.5262, allocations: 10.48 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5262, allocations: 6.031 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.5262, allocations: 6.266 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.5262, allocations: 3.062 kB / 0.7884 GB, free: 48.33 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 5.393e-05/0.5263, allocations: 112 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.5263, allocations: 5.594 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.5263, allocations: 5.562 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5263, allocations: 3.938 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5264, allocations: 4.125 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.5264, allocations: 81.64 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.5264, allocations: 7.875 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.5264, allocations: 1.312 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.5265, allocations: 5.594 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001079/0.5266, allocations: 139.5 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001111/0.5267, allocations: 230.2 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.944e-05/0.5267, allocations: 10.02 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.5268, allocations: 83.03 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of Backend: time 5.41e-07/0.5268, allocations: 0 / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.5274, allocations: 163.2 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002559/0.5276, allocations: 0.5427 MB / 0.7898 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.003079/0.5307, allocations: 1.051 MB / 0.7908 GB, free: 47.06 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)