Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, 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.001105/0.001105, allocations: 180.3 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.001028/0.001028, allocations: 93.47 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 9.938 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2133, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001548/0.2149, allocations: 1.18 MB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.216, allocations: 0.7334 MB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.216, allocations: 3.938 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.216, allocations: 7.938 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.2161, allocations: 3.938 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.2166, allocations: 95.77 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.2167, allocations: 75.75 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.2168, allocations: 8 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.2169, allocations: 27.91 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.2169, allocations: 39.83 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.2169, allocations: 4 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2171, allocations: 83.91 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.2171, allocations: 15.92 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.2172, allocations: 29.7 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2173, allocations: 103.8 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2173, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2173, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2173, allocations: 0 / 0.9032 GB, free: 61.46 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.0005271/0.2179, allocations: 413 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2179, allocations: 15.97 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.218, allocations: 11.86 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.218, allocations: 166.9 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2181, allocations: 12 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2181, allocations: 4 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2183, allocations: 73.64 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2183, allocations: 0 / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2183, allocations: 0 / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2183, allocations: 7.984 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2185, allocations: 43.98 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.219, allocations: 320.7 kB / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.2191, allocations: 58.56 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.2192, allocations: 32.97 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2192, allocations: 0 / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.2194, allocations: 79.31 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2194, allocations: 4 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003534/0.2198, allocations: 149.5 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.2198, allocations: 55.41 kB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.2199, allocations: 117.8 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2199, allocations: 29.7 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.2199, allocations: 92.41 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.22, allocations: 23.72 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.22, allocations: 4 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.825e-05/0.22, allocations: 322.8 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.2201, allocations: 27.97 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.2202, allocations: 66.8 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.2203, allocations: 35.98 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2203, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002415/0.2206, allocations: 113.6 kB / 0.9053 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2206, allocations: 8 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2206, allocations: 4 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2206, allocations: 0 / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.2207, allocations: 19.94 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2207, allocations: 4 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.2208, allocations: 7.906 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2208, allocations: 4 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.715e-05/0.2209, allocations: 121.8 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2209, allocations: 7.984 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.2209, allocations: 8.375 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2209, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2209, allocations: 3.953 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.221, allocations: 4 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.2213, allocations: 386.4 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2213, allocations: 0 / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.2213, allocations: 7.938 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2214, allocations: 3.984 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2214, allocations: 7.953 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2214, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2214, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2216, allocations: 211.4 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.2216, allocations: 81.09 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2217, allocations: 4 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.2218, allocations: 11.95 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2218, allocations: 7.922 kB / 0.9062 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2218, allocations: 4 kB / 0.9062 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.2219, allocations: 95.27 kB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2219, allocations: 0 / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002489/0.2221, allocations: 39.94 kB / 0.9063 GB, free: 57.86 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.0002745/0.2224, allocations: 168 kB / 0.9065 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.2226, allocations: 79.94 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2226, allocations: 0 / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.2227, allocations: 43.92 kB / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2229, allocations: 3.984 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.2233, allocations: 244.9 kB / 0.9069 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.2234, allocations: 0.6833 MB / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.2235, allocations: 19.42 kB / 0.9076 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2235, allocations: 0 / 0.9076 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.002754/0.2262, allocations: 1.618 MB / 0.9091 GB, free: 54.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)