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.397/1.397, allocations: 251.5 MB / 267.4 MB, free: 10.89 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.001038/0.001038, allocations: 168.3 kB / 326.5 MB, free: 2.68 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.831/1.831, allocations: 205 MB / 0.5766 GB, free: 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.0008523/0.0008522, allocations: 99.66 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003421, allocations: 12.61 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001528/0.2006, allocations: 1.207 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2017, allocations: 0.7968 MB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.2018, allocations: 0 / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.2019, allocations: 0 / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.2019, allocations: 7.875 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.2024, allocations: 103.8 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.967e-05/0.2025, allocations: 75.7 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.2026, allocations: 15.92 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.2027, allocations: 31.92 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.2028, allocations: 39.81 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2028, allocations: 4 kB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.203, allocations: 91.84 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.203, allocations: 11.98 kB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.2031, allocations: 31.8 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2032, allocations: 91.81 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2032, allocations: 4 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2032, allocations: 0 / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2032, allocations: 0 / 0.8992 GB, free: 65.67 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.000522/0.2038, allocations: 415.4 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2038, allocations: 8.031 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2039, allocations: 8.844 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.983e-05/0.2039, allocations: 168.3 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.204, allocations: 12.31 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.204, allocations: 4.375 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.2042, allocations: 81.95 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2042, allocations: 0 / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2042, allocations: 0 / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2042, allocations: 0 / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.2043, allocations: 43.97 kB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.2049, allocations: 324.7 kB / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.205, allocations: 54.44 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.2051, allocations: 40.97 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2051, allocations: 0 / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.2053, allocations: 79.28 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2053, allocations: 0 / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003457/0.2056, allocations: 153.6 kB / 0.9005 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2057, allocations: 59.39 kB / 0.9006 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.2057, allocations: 121.7 kB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2058, allocations: 33.7 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.2058, allocations: 88.12 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.2058, allocations: 15.81 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.2059, allocations: 17.72 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.2059, allocations: 326.8 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.206, allocations: 27.98 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.2061, allocations: 50.55 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2062, allocations: 78.5 kB / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2062, allocations: 0 / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002092/0.2064, allocations: 125.8 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2065, allocations: 4.062 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2065, allocations: 4.078 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2065, allocations: 0 / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.2066, allocations: 15.98 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2066, allocations: 3.984 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.2067, allocations: 15.92 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2067, allocations: 4 kB / 0.9015 GB, free: 63.09 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 6.676e-05/0.2068, allocations: 125.7 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.2068, allocations: 15.84 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.2068, allocations: 12.38 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2068, allocations: 0 / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2068, allocations: 0 / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2068, allocations: 7.984 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.2072, allocations: 386.4 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2072, allocations: 4 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.2073, allocations: 4 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2073, allocations: 0 / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2073, allocations: 4 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2073, allocations: 0 / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2073, allocations: 7.938 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.2075, allocations: 215.4 kB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.2076, allocations: 85.02 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2076, allocations: 0 / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.2077, allocations: 11.98 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2077, allocations: 7.938 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2077, allocations: 7.984 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.052e-05/0.2078, allocations: 91.22 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2078, allocations: 0 / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002697/0.2081, allocations: 43.98 kB / 0.9024 GB, free: 61.98 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.0003064/0.2084, allocations: 156.6 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.2086, allocations: 83.95 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2086, allocations: 0 / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.2087, allocations: 35.98 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2089, allocations: 10.89 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.2093, allocations: 224.5 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2094, allocations: 0.6926 MB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.2095, allocations: 7.438 kB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2095, allocations: 0 / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.002896/0.2124, allocations: 1.606 MB / 0.9052 GB, free: 59.13 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)