Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.755/2.755, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001538/0.001538, allocations: 182.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001076/0.001076, allocations: 89.3 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.000495, allocations: 10.78 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001802/0.2106, allocations: 1.172 MB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2121, allocations: 0.7269 MB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.2122, allocations: 0 / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.2123, allocations: 3.938 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.2124, allocations: 11.97 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.213, allocations: 91.75 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2131, allocations: 43.89 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.2132, allocations: 19.97 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.2133, allocations: 27.92 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.2134, allocations: 31.83 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.2134, allocations: 4 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.2136, allocations: 71.88 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.2137, allocations: 15.97 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2137, allocations: 33.64 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2139, allocations: 100 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.214, allocations: 4 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.214, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.214, allocations: 0 / 0.9805 GB, free: 26.05 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.0006228/0.2146, allocations: 404.8 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2147, allocations: 12.02 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.2147, allocations: 11.86 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.427e-05/0.2148, allocations: 175 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.2149, allocations: 15.94 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.2149, allocations: 4 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.2152, allocations: 69.59 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2152, allocations: 0 / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2152, allocations: 4 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2152, allocations: 0 / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.2155, allocations: 47.97 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.2162, allocations: 312.7 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.2164, allocations: 58.5 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.2165, allocations: 0 / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.2167, allocations: 83.56 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.2168, allocations: 0 / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006035/0.2174, allocations: 153.8 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2174, allocations: 55.41 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.2175, allocations: 121.7 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2176, allocations: 33.7 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.2176, allocations: 92.25 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.2177, allocations: 19.75 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.2177, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.2178, allocations: 326.8 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2179, allocations: 23.98 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.218, allocations: 46.56 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.2182, allocations: 44.05 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2182, allocations: 0 / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003716/0.2186, allocations: 117.5 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2186, allocations: 4 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2187, allocations: 4 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2187, allocations: 64 / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2188, allocations: 23.92 kB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2189, allocations: 15.89 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.219, allocations: 7.984 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.219, allocations: 7.984 kB / 0.9827 GB, free: 23.57 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 0.0001013/0.2191, allocations: 115.3 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.2192, allocations: 7.906 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.2192, allocations: 12.38 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2192, allocations: 0 / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2192, allocations: 4 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2193, allocations: 3.953 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.2199, allocations: 386.4 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2199, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.22, allocations: 11.98 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.22, allocations: 0 / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.22, allocations: 4 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.22, allocations: 3.953 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.22, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.2204, allocations: 219.3 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.2205, allocations: 85.02 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2205, allocations: 4 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2206, allocations: 7.984 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.2207, allocations: 3.953 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2207, allocations: 4 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.2208, allocations: 91.27 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2208, allocations: 0 / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00045/0.2212, allocations: 39.98 kB / 0.9836 GB, free: 22.49 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.0004231/0.2217, allocations: 170 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.2221, allocations: 75.91 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2221, allocations: 4.125 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.2223, allocations: 36.36 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2225, allocations: 4 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.223, allocations: 219.2 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2232, allocations: 0.6887 MB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.132e-05/0.2233, allocations: 12.16 kB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.2233, allocations: 11.44 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of SimCode: time 9.41e-07/0.2233, allocations: 0 / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.00521/0.2286, allocations: 1.34 MB / 0.9861 GB, free: 19.9 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)