Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 174.2 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 85.5 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 10.94 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001637/0.1864, allocations: 1.199 MB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1875, allocations: 0.7641 MB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.1875, allocations: 4 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1876, allocations: 0 / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.1876, allocations: 7.875 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.1881, allocations: 111.8 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.967e-05/0.1882, allocations: 75.77 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.1883, allocations: 4 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.1884, allocations: 31.91 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.1885, allocations: 39.83 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1885, allocations: 4 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1886, allocations: 91.84 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1887, allocations: 15.92 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.1887, allocations: 53.56 kB / 0.9038 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1889, allocations: 99.81 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1889, allocations: 0 / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1889, allocations: 0 / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1889, allocations: 4 kB / 0.9039 GB, free: 60.83 MB / 0.6042 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.0004797/0.1894, allocations: 407.5 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1894, allocations: 8.031 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1895, allocations: 12.84 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.544e-05/0.1896, allocations: 184 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1896, allocations: 8.359 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1896, allocations: 4.375 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1898, allocations: 73.97 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1898, allocations: 0 / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1898, allocations: 4 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1898, allocations: 3.938 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.19, allocations: 51.95 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.1905, allocations: 312.7 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.1906, allocations: 54.56 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.1907, allocations: 36.97 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1907, allocations: 0 / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.1909, allocations: 83.28 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1909, allocations: 0 / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003448/0.1913, allocations: 153.6 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1913, allocations: 51.41 kB / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.1914, allocations: 121.8 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1914, allocations: 33.7 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.1914, allocations: 92.12 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1914, allocations: 19.75 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.1915, allocations: 0 / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.1915, allocations: 322.8 kB / 0.9058 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.1916, allocations: 27.98 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.1916, allocations: 50.56 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1918, allocations: 82.48 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1918, allocations: 0 / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001939/0.192, allocations: 129.4 kB / 0.9061 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.192, allocations: 4 kB / 0.9061 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.192, allocations: 0 / 0.9061 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.192, allocations: 0 / 0.9061 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.1922, allocations: 19.98 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1922, allocations: 3.938 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.1922, allocations: 12.06 kB / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1923, allocations: 4 kB / 0.9062 GB, free: 58.27 MB / 0.6042 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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.917e-05/0.1923, allocations: 121.8 kB / 0.9063 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.1923, allocations: 7.906 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.1924, allocations: 16.36 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1924, allocations: 0 / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1924, allocations: 0 / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1924, allocations: 0 / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.1927, allocations: 386.8 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1927, allocations: 0 / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.1928, allocations: 11.98 kB / 0.9067 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1928, allocations: 0 / 0.9067 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1928, allocations: 0 / 0.9067 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1928, allocations: 0 / 0.9067 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1928, allocations: 8.016 kB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.193, allocations: 219.4 kB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.1931, allocations: 88.95 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1931, allocations: 4 kB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.1932, allocations: 8 kB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1932, allocations: 15.86 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1932, allocations: 0 / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.1933, allocations: 95.27 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1933, allocations: 0 / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000252/0.1935, allocations: 43.92 kB / 0.9071 GB, free: 57.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002651/0.1938, allocations: 162.9 kB / 0.9073 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.194, allocations: 71.91 kB / 0.9074 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.194, allocations: 0 / 0.9074 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.1941, allocations: 39.97 kB / 0.9074 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1943, allocations: 8.125 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1947, allocations: 247.9 kB / 0.9076 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.1948, allocations: 0.6887 MB / 0.9083 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.1948, allocations: 15.44 kB / 0.9083 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1948, allocations: 7.938 kB / 0.9083 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.002681/0.1975, allocations: 1.592 MB / 0.9099 GB, free: 54.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)