Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 109.3 kB / 16.38 MB, free: 6.484 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.001246/0.001247, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.299/1.299, 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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001467/0.001467, allocations: 67.19 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1936, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002602/0.1962, allocations: 1.488 MB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1974, allocations: 0.772 MB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.1974, allocations: 0 / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.1974, allocations: 3.938 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.1975, allocations: 19.84 kB / 0.787 GB, free: 0.8672 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. Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.198, allocations: 119.6 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1981, allocations: 75.78 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.1982, allocations: 15.98 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.1983, allocations: 39.84 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.1984, allocations: 35.84 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1984, allocations: 8 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1986, allocations: 91.91 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.1986, allocations: 19.97 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.1986, allocations: 31.84 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1989, allocations: 147.5 kB / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1989, allocations: 0 / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1989, allocations: 4 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.1989, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.3431/0.542, allocations: 409.3 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5421, allocations: 9.406 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.5421, allocations: 9.375 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.979e-05/0.5422, allocations: 174 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5422, allocations: 4.938 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.5422, allocations: 5.125 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.5424, allocations: 70.06 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5425, allocations: 0 / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5425, allocations: 6.562 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5425, allocations: 0 / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.5426, allocations: 41.47 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.5431, allocations: 314.6 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.5433, allocations: 56.17 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/0.5433, allocations: 31.77 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.5434, allocations: 7.219 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.5436, allocations: 77.17 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.5436, allocations: 0 / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003462/0.5439, allocations: 139.3 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.544, allocations: 54.83 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.544, allocations: 123.6 kB / 0.789 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.544, allocations: 30.23 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.5441, allocations: 94.09 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.5441, allocations: 8.672 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.5441, allocations: 33.33 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.5442, allocations: 321.4 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.5443, allocations: 24.86 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.5443, allocations: 46.98 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.5445, allocations: 85.14 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5445, allocations: 0 / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001993/0.5447, allocations: 108.2 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.5447, allocations: 5.25 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5447, allocations: 3.469 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5447, allocations: 2.062 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.5448, allocations: 11.84 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5449, allocations: 6.125 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.5449, allocations: 12.58 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.545, allocations: 5.25 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.95e-05/0.545, allocations: 124.1 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.545, allocations: 6.531 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.5451, allocations: 11.2 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5451, allocations: 1.875 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5451, allocations: 2.625 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.5451, allocations: 85.5 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.5451, allocations: 2.625 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.5452, allocations: 14.33 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.5452, allocations: 10.25 kB / 0.7901 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002365/0.5455, allocations: 187.9 kB / 0.7902 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002323/0.5457, allocations: 286.5 kB / 0.7905 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.871e-05/0.5458, allocations: 30.95 kB / 0.7905 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.5458, allocations: 93.55 kB / 0.7906 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Backend: time 7.52e-07/0.5458, allocations: 0 / 0.7906 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006247/0.5465, allocations: 185.7 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00032/0.5468, allocations: 0.6189 MB / 0.7914 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.003604/0.5504, allocations: 1.492 MB / 0.7929 GB, free: 46.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)