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.492/1.492, allocations: 252 MB / 267.6 MB, free: 10.9 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.001177/0.001177, allocations: 179.5 kB / 327.3 MB, free: 2.184 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.85/1.85, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.000827/0.000827, allocations: 83.69 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003294, allocations: 9.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001502/0.1936, allocations: 1.184 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1947, allocations: 0.7256 MB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.1948, allocations: 0 / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1948, allocations: 3.938 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.1949, allocations: 11.92 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1953, allocations: 99.75 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.439e-05/0.1954, allocations: 67.78 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.1955, allocations: 15.92 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.1956, allocations: 27.91 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.1956, allocations: 35.84 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1957, allocations: 4 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1958, allocations: 79.91 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1958, allocations: 15.92 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.1959, allocations: 33.7 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.196, allocations: 95.81 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.196, allocations: 8 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.196, allocations: 0 / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1961, allocations: 3.938 kB / 0.9032 GB, free: 61.45 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.0004984/0.1966, allocations: 409.1 kB / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1966, allocations: 8.031 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.1966, allocations: 15.8 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1968, allocations: 178.9 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1968, allocations: 8 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1968, allocations: 11.98 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.197, allocations: 65.66 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.197, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.197, allocations: 3.938 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.197, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1972, allocations: 47.97 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.1977, allocations: 320.7 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.1978, allocations: 50.56 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.1979, allocations: 36.97 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1979, allocations: 4 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.1981, allocations: 83.3 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1981, allocations: 4 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003475/0.1984, allocations: 157.5 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.1985, allocations: 51.41 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.1985, allocations: 117.8 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1986, allocations: 25.7 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.1986, allocations: 100.3 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1986, allocations: 11.75 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.1986, allocations: 8 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.1987, allocations: 318.8 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.1988, allocations: 23.98 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.1988, allocations: 50.56 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.1989, allocations: 39.92 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1989, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001991/0.1992, allocations: 121.5 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1992, allocations: 4 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1992, allocations: 0 / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1992, allocations: 4 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.1993, allocations: 15.94 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1993, allocations: 0 / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.1994, allocations: 19.84 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1994, allocations: 3.984 kB / 0.9054 GB, free: 58.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/0.1995, allocations: 125.8 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.1995, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.1995, allocations: 12.38 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1995, allocations: 0 / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1995, allocations: 7.891 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1995, allocations: 0 / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1999, allocations: 386.4 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1999, allocations: 0 / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.1999, allocations: 15.92 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1999, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2, allocations: 3.953 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2, allocations: 0 / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2, allocations: 0 / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.2002, allocations: 219.4 kB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.2002, allocations: 81.11 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2002, allocations: 4 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.2003, allocations: 7.953 kB / 0.9062 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.2004, allocations: 11.97 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2004, allocations: 4 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.2004, allocations: 99.27 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2004, allocations: 0 / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002495/0.2007, allocations: 43.92 kB / 0.9064 GB, free: 57.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002877/0.201, allocations: 167.9 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.2012, allocations: 71.91 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2012, allocations: 0 / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.2013, allocations: 43.91 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2016, allocations: 9.688 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.2019, allocations: 240.9 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.202, allocations: 0.6887 MB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.202, allocations: 11.44 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.202, allocations: 0 / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.002712/0.2048, allocations: 1.617 MB / 0.9091 GB, free: 54.96 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)