Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.4 MB / 303.7 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009555/0.0009554, allocations: 180.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008363, allocations: 92.89 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 15.03 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2086, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001717/0.2103, allocations: 1.195 MB / 0.9813 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2116, allocations: 0.711 MB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.2117, allocations: 0 / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.2117, allocations: 7.922 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.916e-05/0.2118, allocations: 3.938 kB / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.2124, allocations: 103.8 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2125, allocations: 63.78 kB / 0.9822 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.2126, allocations: 15.97 kB / 0.9822 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.2127, allocations: 23.92 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.2128, allocations: 35.89 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2128, allocations: 4 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.213, allocations: 87.84 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.2131, allocations: 19.92 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.2132, allocations: 49.56 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.2134, allocations: 104 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2134, allocations: 4 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2134, allocations: 0 / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2134, allocations: 0 / 0.9825 GB, free: 24.91 MB / 0.6198 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.0005805/0.214, allocations: 405 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.214, allocations: 8.031 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.2141, allocations: 12.84 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2142, allocations: 176.2 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.2142, allocations: 12.31 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2143, allocations: 4.375 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2145, allocations: 69.97 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2145, allocations: 0 / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2145, allocations: 4 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2145, allocations: 0 / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.2146, allocations: 51.91 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.2152, allocations: 316.8 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2153, allocations: 58.55 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.2154, allocations: 32.97 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2154, allocations: 4 kB / 0.9836 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.2156, allocations: 83.31 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.023e-06/0.2156, allocations: 0 / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003682/0.216, allocations: 149.6 kB / 0.9838 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.216, allocations: 51.41 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.2161, allocations: 129.8 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2161, allocations: 29.7 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.2162, allocations: 88.14 kB / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.2162, allocations: 15.75 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.2162, allocations: 4 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.2163, allocations: 322.8 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.2164, allocations: 31.86 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.2164, allocations: 54.55 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.2166, allocations: 78.55 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2166, allocations: 8 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002081/0.2168, allocations: 109.5 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2168, allocations: 4 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2169, allocations: 0 / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2169, allocations: 7.984 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.217, allocations: 11.94 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.217, allocations: 4.062 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.2171, allocations: 19.89 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2171, allocations: 400 / 0.9847 GB, free: 22.36 MB / 0.6198 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 7.878e-05/0.2172, allocations: 125.8 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.2172, allocations: 0 / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.2172, allocations: 12.38 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2172, allocations: 3.984 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2172, allocations: 0 / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2173, allocations: 4 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.2176, allocations: 402.2 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2177, allocations: 0 / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.2177, allocations: 8 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2177, allocations: 3.938 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2177, allocations: 0 / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.2177, allocations: 4 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2178, allocations: 7.922 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.218, allocations: 215.3 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.218, allocations: 81.11 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.218, allocations: 4 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.2181, allocations: 11.98 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.2182, allocations: 7.938 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.2182, allocations: 3.984 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.2182, allocations: 99.2 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2182, allocations: 0 / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002752/0.2185, allocations: 36 kB / 0.9857 GB, free: 21.26 MB / 0.6198 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.0003383/0.2189, allocations: 164.1 kB / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2191, allocations: 71.89 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2191, allocations: 0 / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.2192, allocations: 44.05 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2195, allocations: 14.19 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.2199, allocations: 207 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2201, allocations: 0.6926 MB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.446e-05/0.2202, allocations: 4 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.2202, allocations: 15.42 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2202, allocations: 0 / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.004164/0.2244, allocations: 1.337 MB / 0.9882 GB, free: 18.68 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)