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.441/1.441, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.00153/0.00153, allocations: 179.5 kB / 326.5 MB, free: 2.691 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.84/1.84, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0008828/0.0008824, allocations: 88.69 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8.906 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2093, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001593/0.211, allocations: 1.199 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2121, allocations: 0.7891 MB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.2122, allocations: 0 / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.2122, allocations: 3.938 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.2123, allocations: 11.86 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.2127, allocations: 107.8 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.722e-05/0.2128, allocations: 71.72 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.2129, allocations: 19.92 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.213, allocations: 27.91 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.2131, allocations: 35.84 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2131, allocations: 4 kB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.2133, allocations: 91.84 kB / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.2133, allocations: 11.97 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.2133, allocations: 31.8 kB / 0.8991 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2135, allocations: 103.8 kB / 0.8992 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2135, allocations: 0 / 0.8992 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2135, allocations: 0 / 0.8992 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2135, allocations: 0 / 0.8992 GB, free: 65.69 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.0005155/0.214, allocations: 409 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2141, allocations: 8.031 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.2141, allocations: 8.844 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.74e-05/0.2142, allocations: 176.3 kB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.2142, allocations: 4.375 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2142, allocations: 8.375 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.2144, allocations: 73.91 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2144, allocations: 0 / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2145, allocations: 0 / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2145, allocations: 4 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.2146, allocations: 47.91 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.2151, allocations: 320.7 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.2152, allocations: 62.5 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.2153, allocations: 36.95 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.2153, allocations: 0 / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.2155, allocations: 79.28 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.2155, allocations: 4 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004099/0.216, allocations: 145.6 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.216, allocations: 55.41 kB / 0.9006 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.2161, allocations: 125.7 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2161, allocations: 25.7 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.2161, allocations: 92.14 kB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.2162, allocations: 15.88 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.2162, allocations: 21.7 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.2162, allocations: 322.8 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.2163, allocations: 31.97 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.2164, allocations: 51 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.2166, allocations: 78.48 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2166, allocations: 3.938 kB / 0.9013 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002021/0.2168, allocations: 125.5 kB / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2168, allocations: 4 kB / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2168, allocations: 0 / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2168, allocations: 4 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.2169, allocations: 11.98 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2169, allocations: 0 / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.217, allocations: 20 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.217, allocations: 3.938 kB / 0.9015 GB, free: 63.11 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,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 7.097e-05/0.2171, allocations: 129.7 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.2171, allocations: 7.891 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.2172, allocations: 12.36 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2172, allocations: 0 / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2172, allocations: 0 / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2172, allocations: 0 / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.2175, allocations: 390.9 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2175, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.2176, allocations: 7.938 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2176, allocations: 0 / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2176, allocations: 3.984 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2176, allocations: 4 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2176, allocations: 3.938 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.2178, allocations: 219.5 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.2179, allocations: 81.02 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2179, allocations: 3.984 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.218, allocations: 4 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.218, allocations: 15.92 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.218, allocations: 4 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.234e-05/0.2181, allocations: 99.42 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2181, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002573/0.2183, allocations: 36 kB / 0.9024 GB, free: 62.01 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.0002806/0.2186, allocations: 162.6 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2189, allocations: 79.94 kB / 0.9027 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2189, allocations: 3.938 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.219, allocations: 39.92 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.2192, allocations: 16.11 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.2196, allocations: 212.5 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2197, allocations: 0.6887 MB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.2197, allocations: 15.44 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.2197, allocations: 0 / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.002741/0.2225, allocations: 1.608 MB / 0.9052 GB, free: 59.15 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)