Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 113.5 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.001139/0.00114, allocations: 187.5 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.294/1.294, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001458/0.001458, allocations: 79.89 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1929, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002468/0.1954, allocations: 1.483 MB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1966, allocations: 0.7682 MB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.1967, allocations: 4 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.1967, allocations: 3.938 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.1967, allocations: 11.88 kB / 0.787 GB, free: 0.8516 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.0005254/0.1973, allocations: 119.6 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1974, allocations: 87.69 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.1975, allocations: 11.94 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.1976, allocations: 31.91 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.1977, allocations: 43.83 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1977, allocations: 12 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.1979, allocations: 95.84 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.1979, allocations: 11.98 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.198, allocations: 31.86 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1982, allocations: 147.5 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1982, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1983, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1983, allocations: 0 / 0.7876 GB, free: 276 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.3425/0.5408, allocations: 413 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5409, allocations: 9.438 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.5409, allocations: 12.19 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.567e-05/0.541, allocations: 173.8 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.541, allocations: 5.5 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.5411, allocations: 4.781 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.5412, allocations: 73.06 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5413, allocations: 0 / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5413, allocations: 5.125 kB / 0.7883 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5413, allocations: 2.625 kB / 0.7883 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.5414, allocations: 36.91 kB / 0.7883 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.5419, allocations: 317.2 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.542, allocations: 55.94 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.5421, allocations: 30.19 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.5422, allocations: 2.75 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.5423, allocations: 79.22 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.5424, allocations: 1 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003358/0.5427, allocations: 135.3 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.5427, allocations: 60 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.5428, allocations: 132.5 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.5428, allocations: 25.7 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.5429, allocations: 91.3 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.5429, allocations: 10.53 kB / 0.7892 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.5429, allocations: 30.52 kB / 0.7892 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.543, allocations: 322.2 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.543, allocations: 26.61 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.5431, allocations: 46.97 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.5433, allocations: 80.92 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5433, allocations: 0 / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002027/0.5435, allocations: 113.2 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5435, allocations: 6 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.5435, allocations: 2.625 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5435, allocations: 0 / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.5436, allocations: 19.55 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5436, allocations: 0.875 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.5437, allocations: 15.73 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.5437, allocations: 2.656 kB / 0.7898 GB, free: 47.61 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.956e-05/0.5438, allocations: 123.7 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.5438, allocations: 7.469 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.5438, allocations: 7.703 kB / 0.79 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5438, allocations: 0 / 0.79 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.5439, allocations: 3.125 kB / 0.79 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.5439, allocations: 86.28 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5439, allocations: 2.625 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.544, allocations: 5.906 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.544, allocations: 9.891 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002407/0.5443, allocations: 188.4 kB / 0.7902 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002222/0.5445, allocations: 282 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.947e-05/0.5446, allocations: 35.3 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.5446, allocations: 95.77 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of Backend: time 9.52e-07/0.5446, allocations: 0.5938 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.5452, allocations: 181 kB / 0.7908 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000309/0.5455, allocations: 0.6192 MB / 0.7914 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.003462/0.549, allocations: 1.502 MB / 0.7929 GB, free: 46.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)